Description
The PERCENTILE_APPROX
function is used to calculate approximate percentiles. It returns the approximate percentile of the specified column values in a table.
Syntax
Parameter Description
- value_expr: The numerical expression for which the percentile is to be calculated.
- percentile: The desired percentile (between 0 and 1).
- column: The column used to calculate the percentile, usually sorted by this column.
Return Result
Returns the approximate value of the specified percentile.