mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
17 lines
192 B
Plaintext
17 lines
192 B
Plaintext
|
SELECT * \
|
||
|
FROM \
|
||
|
( \
|
||
|
SELECT 1 AS x \
|
||
|
UNION ALL \
|
||
|
SELECT 1 \
|
||
|
UNION DISTINCT \
|
||
|
SELECT 3 \
|
||
|
)
|
||
|
SELECT 1 \
|
||
|
UNION ALL \
|
||
|
( \
|
||
|
SELECT 1 \
|
||
|
UNION DISTINCT \
|
||
|
SELECT 1 \
|
||
|
)
|