ClickHouse/dbms/tests/queries/0_stateless/00098_j_union_all.sql
Alexey Arno 20fe37511f Merge
2015-06-02 14:16:02 +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);