ClickHouse/tests/queries/0_stateless/00371_union_all.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up ()
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

3 lines
183 B
SQL

select toUInt64(1) union all select countIf(n>0) from (select 2 as n);
SELECT q FROM (select [1,2,3] AS q UNION ALL select groupArray(arrayJoin([4,5,6])) AS q ORDER BY q) ORDER BY q;