mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
6 lines
164 B
MySQL
6 lines
164 B
MySQL
|
CREATE TEMPORARY TABLE t (x DateTime);
|
||
|
INSERT INTO t VALUES (now());
|
||
|
SYSTEM SUSPEND FOR 1 SECOND;
|
||
|
INSERT INTO t VALUES (now());
|
||
|
SELECT max(x) - min(x) >= 1 FROM t;
|