PERCENTILE_CONT.
NULL values are ignored.
Syntax
Parameters
Return type
With<fraction>, the function returns a single value. With <fractions>, it returns an array with one element per fraction, in the order of <fractions>.
The value type is the type of <expression> for NUMERIC, DATE, TIMESTAMP and TIMESTAMPTZ inputs, and DOUBLE PRECISION otherwise.
Examples
Rows: 1Execution time: 2.74ms
Rows: 1Execution time: 2.10ms