0
kicks
SQL Server - Get Nth Highest using ROW_NUMBER() Function
ROW_NUMBER function was introduced in SQL Server 2005. ROW_NUMBER as the name suggests is used to calculate row numbers in the query result set.
Prior to ROW_NUMBER developers relied on temporary tables and co-related sub-queries to accomplish the same, which often resulted in spaghetti code and overall bad query performance.