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
We could write as below mentioned also.
select min(sal) from (select sal from emp where rownum=<&n order by sal desc);