How can you get the 3rd highest salary in SQL from employee database?

1 answer

Answer

1091584

2026-08-12 11:50

+ Follow

select * from ( select eno, ename, sal, rank() over(order by sal desc) rnk ) where rnk = 3

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.