This section contains reference documentation for the PERCENTILETDigest function.
Last updated 2 years ago
Was this helpful?
Returns the Nth percentile of the group using .
PERCENTILETDigest(colName, percentile)
These examples are based on the .
select PERCENTILETDigest(homeRuns, 50) AS value from baseballStats
0
select PERCENTILETDigest(homeRuns, 80) AS value from baseballStats
3.6571905392487856
select PERCENTILETDigest(homeRuns, 99.9) AS value from baseballStats
46.26787306220119