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

2 lines
89 B
SQL

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