6/34
Part 2 of 6 · RankingLearn and do

ROW_NUMBER, RANK and DENSE_RANK differ only on ties

All three number the rows in the window's order. Here they number the orders by date, and the dates have two ties: two orders on March 1 and two on March 3.

Predict

Orders 1 and 2 are both on March 1, and order 6 is on March 2. Under RANK by date, which numbers do orders 1, 2 and 6 get?

Pick an answer above to see the rest