how to find the second highest salary in a given table????
Answer Posted / ajit nayak
SELECT MAX( Sal ), LEVEL
FROM Emp
WHERE LEVEl = &Givelevelno
CONNECT BY PRIOR Sal > Sal
GROUP BY LEVEL;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
Explain the use of indexes option in imp command.
What is the usage of synonyms?
Can group functions be used in the order by clause in oracle?
What is the usage of analyze command in oracle?
How do you find current date and time in oracle?
how to clone 9i Database on to 10g Database.
How are extents allocated to a segment?
how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?
How to create a testing table in oracle?
How does the on-delete-cascade statement work?
Explain the use of grant option in exp command.
How to count duplicated values in a column in oracle?
What is the difference between pre-select and pre-query?
What does sharding mean?