How to Create a Rank Column in SQL Server - TSQL Rank, Partition By, and Order By.