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

2 lines
92 B
SQL

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