mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +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);
|