mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
13 lines
617 B
SQL
13 lines
617 B
SQL
DROP TABLE IF EXISTS num;
|
|
CREATE TABLE num AS numbers(1000);
|
|
|
|
SELECT quantilesExactExclusive(0.25, 0.5, 0.75, 0.9, 0.95, 0.99, 0.999)(x) FROM (SELECT number AS x FROM num);
|
|
SELECT quantilesExactInclusive(0.25, 0.5, 0.75, 0.9, 0.95, 0.99, 0.999)(x) FROM (SELECT number AS x FROM num);
|
|
SELECT quantilesExact(0.25, 0.5, 0.75, 0.9, 0.95, 0.99, 0.999)(x) FROM (SELECT number AS x FROM num);
|
|
|
|
SELECT quantileExactExclusive(0.6)(x) FROM (SELECT number AS x FROM num);
|
|
SELECT quantileExactInclusive(0.6)(x) FROM (SELECT number AS x FROM num);
|
|
SELECT quantileExact(0.6)(x) FROM (SELECT number AS x FROM num);
|
|
|
|
DROP TABLE num;
|