mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 23:31:24 +00:00
7 lines
283 B
SQL
7 lines
283 B
SQL
SELECT (SELECT number FROM numbers(100) ORDER BY number LIMIT 1),
|
|
(SELECT number FROM numbers(100) ORDER BY number DESC LIMIT 1);
|
|
|
|
SELECT 1
|
|
WHERE 0=(SELECT number FROM numbers(2) ORDER BY number LIMIT 1)
|
|
AND 1=(SELECT number FROM numbers(2) ORDER BY number DESC LIMIT 1);
|