mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
6 lines
433 B
MySQL
6 lines
433 B
MySQL
|
select * from (select tuple(1) as a union all select tuple(1) as a) order by a;
|
||
|
select * from (select tuple(1) as a union all select tuple(2) as a) order by a;
|
||
|
select * from (select tuple(materialize(0)) as a union all select tuple(0) as a) order by a;
|
||
|
select * from (select tuple(range(1)[1]) as a union all select tuple(0) as a) order by a;
|
||
|
select * from (select tuple(range(1)[2]) as a union all select tuple(1) as a) order by a;
|