mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 05:03:20 +00:00
3 lines
156 B
MySQL
3 lines
156 B
MySQL
|
select toUInt64(1) union all select countIf(n>0) from (select 2 as n);
|
||
|
select [1,2,3] AS q UNION ALL select groupArray(arrayJoin([4,5,6])) AS q ORDER BY q;
|