To find out the Nth max sal in oracle i\'m using below query
SELECT DISTINCE sal FROM emp a WHERE ( SELECT COUNT(DISTINCE sal) FROM emp b
Try this one :
Select sal From (Select rownum as rank, empno,ename,sal From (Select * From emp order by sal desc) ) where rank=2;
Just add the number as rank which will give you nth highest salary.