Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<value> | A value between 0.0 and 1.0. | DOUBLE PRECISION, REAL |
<order_by> | An expression used for the order by clause. | Any numeric type |
<partition_by> | An expression used for the partition by clause. | Any |
Return Types
DOUBLE PRECISION
Example
The example below calculates the max percentile value based on continuous distribution of players, partitioned by game level.| nickname | percentile |
|---|---|
| kennethpark | 90 |
| sabrina21 | 85 |
| ymatthews | 80 |
| rileyjon | 75 |