find out the second highest salary?
Answer Posted / mahesh
We can use an OLAP function
select * from
(select ename,sal,dense_rank() over(order by sal desc)
rankings from emp ) a
where a.rankings = 2;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is translate in oracle?
Explain overloading. Can functions be overloaded?
An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?
Explain mutating triggers.
How to export your connection information to a file?
What is a initialization parameter file in oracle?
How to connect to oracle using service name instead of sid?
How to apply filtering criteria at group level in oracle?
What are the different editions of oracle?
How to insert a record into a table?
When do you get a .pll extension in oracle? Explain its importance
How to invoke the data pump import utility?
Explain what are the uses of rollback segment?
Explain the use of constraints option in exp command.
11. Display the client number and name and the client number and name of the person who referred that client.