ClickHouse/tests/queries/0_stateless/01212_empty_join_and_totals.sql

12 lines
210 B
MySQL
Raw Normal View History

2020-03-23 12:48:10 +00:00
select * from system.one t1
join system.one t2
on t1.dummy = t2.dummy
limit 0
FORMAT TabSeparated;
select * from system.one t1
join system.one t2
on t1.dummy = t2.dummy
where t2.dummy > 0
FORMAT TabSeparated;