mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Create 02560_quantile_min_max.sql
This commit is contained in:
parent
f5811a3d5a
commit
c8529da226
10
tests/queries/0_stateless/02560_quantile_min_max.sql
Normal file
10
tests/queries/0_stateless/02560_quantile_min_max.sql
Normal file
@ -0,0 +1,10 @@
|
||||
DROP TABLE IF EXISTS nums;
|
||||
|
||||
CREATE TABLE nums(n UInt32) ENGINE = Memory;
|
||||
|
||||
INSERT INTO nums VALUES (4),(2),(1),(3);
|
||||
|
||||
SELECT quantilesExactExclusive(0.1, 0.9)(n) FROM nums;
|
||||
SELECT quantilesExactInclusive(0, 1)(n) FROM nums;
|
||||
|
||||
DROP TABLE nums;
|
Loading…
Reference in New Issue
Block a user