Search notes:
SQL analytic functions: ranking
row_number()
,
rank()
and
dense_rank()
See also
SQL: Analytic functions
Index