ClickHouse/docs/en/sql-reference/aggregate-functions/reference/quantiles.md

10 lines
442 B
Markdown
Raw Normal View History

---
toc_priority: 201
---
# quantiles {#quantiles}
Syntax: `quantiles(level1, level2, …)(x)`
All the quantile functions also have corresponding quantiles functions: `quantiles`, `quantilesDeterministic`, `quantilesTiming`, `quantilesTimingWeighted`, `quantilesExact`, `quantilesExactWeighted`, `quantilesTDigest`. These functions calculate all the quantiles of the listed levels in one pass, and return an array of the resulting values.