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
How oracle handles dead locks?
Differentiate between pre-select and pre-query?
what is the difference between data migration and production migration.
How to import one table back from a dump file?
What are operators in oracle?
How can I introduce multiple conditions in like operator?
Is postgres faster than oracle?
What is Undo Management Advisor in Oracle?
How to insert a record into a table?
Explain the use of control file?
What are the different types of trigger and explain its various uses and functions?
In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col
I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database
What are the different windows events activated at runtime ?
What is index-organized table in Oracle?