mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 02:00:49 +00:00
5 lines
192 B
SQL
5 lines
192 B
SQL
SELECT * FROM
|
|
(
|
|
SELECT x FROM (SELECT x, y, arrayJoin(z) FROM (SELECT number AS x, number + 1 AS y, [number % 2, number % 3] AS z FROM numbers(10)) UNION ALL SELECT 1, 2, 3)
|
|
) ORDER BY x;
|