I have tried the below query:
select empno from ( select empno from emp order by sal desc
Select * From (SELECT *, ROW_NUMBER() OVER(ORDER BY column_name DESC) AS mRow FROM table_name WHERE condition) as TT Where TT.mRow=2;