In this video Marco introduces all 4 ranking functions available in SQL Server. This is the 1st part, wich he shows how to use ROW_NUMBER. It might look simple, but ROW_NUMBER was a significant addition to TSQL, enabling us to cleanly assign numbers to rows when needed.
↧