mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
9 lines
179 B
SQL
9 lines
179 B
SQL
SELECT * FROM (
|
|
SELECT 1 AS a, 2 AS b FROM system.one
|
|
JOIN system.one USING dummy
|
|
UNION ALL
|
|
SELECT 3 AS a, 4 AS b FROM system.one
|
|
)
|
|
WHERE a != 10
|
|
ORDER BY a, b;
|