how to find the second highest salary in a given table????
Answer Posted / manikandan. s
This is the nth max
SELECT salary
FROM (SELECT ROWNUM sl, salary
FROM (SELECT salary
FROM employees
GROUP BY salary
ORDER BY salary))
WHERE sl = n
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the use of inctype option in exp command.
What is the difference between hot backup and cold backup in oracle?
How to define a cusotmer as a supplier in ORACLE R12
What is oracle database 10g express edition?
How to pass parameters to procedures?
What is the difference between postgresql and oracle?
Explain the truncate in oracle?
In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?
What is tns entry?
How to manage transaction isolation level?
Is truncate autocommit in oracle?
What is rowid and rownum in oracle?
How to retrieve data from an cursor to a record?
What is a trace file and how is it created in oracle?
What are the execution control statements?