mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
12 lines
187 B
MySQL
12 lines
187 B
MySQL
|
SELECT number
|
||
|
FROM
|
||
|
(
|
||
|
SELECT zero AS number
|
||
|
FROM remote('127.0.0.2', system.zeros)
|
||
|
UNION ALL
|
||
|
SELECT number + sleep(0.5)
|
||
|
FROM system.numbers
|
||
|
)
|
||
|
WHERE number = 1
|
||
|
LIMIT 1
|