ClickHouse/tests/queries/0_stateless/02560_quantile_min_max.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
240 B
MySQL
Raw Normal View History

2023-02-14 14:37:05 +00:00
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;