find out the second highest salary?
Answer Posted / nagaraju
SELECT LEVEL,MAX(SAL)
FROM EMP
WHERE LEVEL IN(2,3)
CONNECT BY PRIOR SAL>SAL
GROUP BY LEVEL;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is oracle database client?
What are the differences between blob and clob in oracle?
What is oracle used for?
How would you go about verifying the network name that the local_listener is currently using?
Explain joins in oracle?
What is a cursor in oracle?
What is a sub query and what are the different types of subqueries?
What is oracle data type?
How to create a new tablespace in oracle?
Is postgres faster than oracle?
How to view existing locks on the database?
How do you bind variables in oracle?
What privilege is needed for a user to insert rows to tables in another schema?
Assuming that you are an End User How to find that in the payment Batch some of the Invoice was Missing To pay How to find That??
Why use resource manager in Oracle?