mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
12 lines
210 B
MySQL
12 lines
210 B
MySQL
|
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;
|