CTE is best way of dealing such kind of problem
WITH CTE AS ( SELECT EmpID,EmpName,EmpSalar, RN = ROW_NUMBER() OVER (ORDER BY EmpSalary DESC) FROM dbo.Salary ) SELECT EmpID,EmpName,EmpSalar FROM CTE WHERE RN = @NthRow