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
Explain view?
What is merge in oracle?
What do database buffers contain?
Which is better Oracle or MS SQL? Why?
How to grant create session privilege to a user in oracle?
What will be the syntax to find current date and time in format "yyyy-mm-dd"?
What is the difference between sharding and partitioning?
How to create a table interactively?
How to define a specific record type?
What do you mean by a database transaction & what all tcl statements are available in oracle?
What do you understand by a database object?
Define oracle database
What privilege is needed for a user to create tables in oracle?
What is a trace file and how is it created in oracle?
How to change system global area (sga) in oracle?