mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
7 lines
283 B
MySQL
7 lines
283 B
MySQL
|
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);
|