percentile

Returns a value, on a scale from 0 to 100, that indicates the percent of a distribution that is equal to or below the selected data items.

Syntax

percentile ( numeric_expression [ tuple member_expression { ,
 member_expression } ] within set set_expression )