mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
6 lines
306 B
SQL
6 lines
306 B
SQL
SET optimize_syntax_fuse_functions=1;
|
|
CREATE TEMPORARY TABLE datetime (`d` DateTime('UTC'));
|
|
SELECT quantile(0.1)(d), quantile(0.5)(d) FROM datetime;
|
|
INSERT INTO datetime SELECT * FROM generateRandom() LIMIT 10;
|
|
SELECT max(cityHash64(*)) > 0 FROM (SELECT quantile(0.1)(d), quantile(0.5)(d) FROM datetime);
|