Lesson 9.2 · Pro

ROW_NUMBER, RANK and DENSE_RANK

Number rows within a group, and know exactly how each function handles ties.

In this lesson

  1. Three ways to number rows
  2. Pick the right one