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

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;