find out the second highest salary?
Answer Posted / yaseen syed
select *
from
(select empno,ename,sal,rank() over(order by sal desc)
ranking from emp)
where ranking=2;
and u can find the nth highest sal by replacing 2 by your
number
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to use null as conditions in oracle?
How can we create the complete backup of data in the oracle.
What privilege is needed for a user to create tables in oracle?
you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz
What happens if the update subquery returns multiple rows?
What is the use of file param in imp command?
How to create tables for odbc connection testing?
How can Oracle users be audited?
What is a package in oracle?
How do I connect to oracle?
How to call a sub procedure?
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
What is a static data dictionary in oracle?
What are the limitations of check constraint?
What are joins, explain all types of joins?