How can I find the Nth highest salary in a table containing salaries in SQL Server?
The easiest method is to get 2nd higest salary from table in SQL:
2nd higest salary
table
SQL
sql> select max(sal) from emp where sal not in (select max(sal) from emp);