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

2 lines
92 B
SQL

SELECT X FROM (SELECT * FROM (SELECT 1 AS X, 2 AS Y) UNION ALL SELECT 3, 4) ORDER BY X ASC;