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 ordinary table in oracle?
How to create a testing table in oracle?
What is a trigger and what are its types in oracle?
How index is implemented in oracle database?
What is a read write transaction in oracle?
How to count duplicated values in a column in oracle?
What is an oracle?
How to execute a stored procedure in oracle?
What are privileges and grants?
Why is oracle used?
How to declare a local variable?
What is a sub query and what are the different types of subqueries?
How to connect to the server with user account: sys?
What do you mean by a database transaction & what all tcl statements are available in oracle?
What is a user account in oracle?