ClickHouse/dbms/tests/queries/0_stateless/00098_j_union_all.sql

3 lines
168 B
MySQL
Raw Normal View History

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);