Write a Query to return Top 5th Record of an Employee based on Salary given all required Columns are present in same Table code example
Example: n highest salary in sql
SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP N salary
FROM #Employee
ORDER BY salary DESC
) AS temp
ORDER BY salary