ClickHouse/dbms/tests/queries/0_stateless/00098_j_union_all.sql
2016-06-07 11:23:15 +03:00

3 lines
168 B
SQL

SELECT * FROM (SELECT dummy, -1 as x UNION ALL SELECT dummy, arrayJoin([-1]) as x);
SELECT * FROM (SELECT -1 as x, dummy UNION ALL SELECT arrayJoin([-1]) as x, dummy);