PERCENT_RANK function [Ranking]

For any row X, defined by the function's arguments and ORDER BY specification, the PERCENT_RANK function determines the rank of row X - 1, divided by the number of rows in the group.

 Syntax
 Returns
 Remarks
 See also
 Standards and compatibility
 Example