Rank
Calculates the rank for each value satisfying the
numeric expression argument. The highest number is assigned a rank of 1, and
each successive rank is assigned the next consecutive integer (2, 3, 4,...). If
certain values are equal, they are assigned the same rank (for example, 1, 1,
1, 4, 5, 5, 7...). The rank is calculated based on the values in the result
set.
Syntax
Rank(Expr)
Where:
Expr
Any expression that evaluates to a numerical value.
Comments
Post a Comment