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

3 lines
168 B
MySQL
Raw Normal View History

2015-06-02 11:16:02 +00:00
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);