mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
7 lines
138 B
MySQL
7 lines
138 B
MySQL
|
SELECT
|
||
|
arrayMap(y -> round(y, 1), quantilesExactInclusive(0.1, 0.9)(x)) AS q
|
||
|
FROM
|
||
|
(
|
||
|
SELECT arrayJoin([-2147483648, 1, 2]) AS x
|
||
|
);
|