find out the second highest salary?
Answer Posted / elumalai d
SELECT * FROM (SELECT salary FROM emp ORDER BY salary DESC) WHERE ROWNUM<3;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an anonymous block?
what is meant by magic query
I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?
What is a partition in oracle?
How to initialize variables with default values?
What is a read write transaction in oracle?
What is the order of defining local variables and sub procedures/functions?
Can select statements be used on views in oracle?
How do we represent comments in oracle?
Explain oracle’s server parameter file.
What is the Tune Query
How do I spool to a csv formatted file using sqlplus?
Is oracle an open source?
What is null value in oracle?
Write a syntax for update query in oracle?