find out the third highest salary?
Answer Posted / vishal
Here is the correct query:
select ename,sal from emp e
where 3 = (select count(distinct(sal))+1 from emp
where e.sal < sal);
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
What are the different types of trigger and explain its various uses and functions?
Is it possible to insert comments into sql statements return in the data model editor ?
What is a nested table and how is it different from a normal table?
Is the After report trigger fired if the report execution fails ?
How to run the anonymous block again?
Explain about the analyze command in oracle?
What is a read write transaction in oracle?
How to commit the current transaction in oracle?
What are the attributes of the cursor?
What is an oracle and why it is used?
Explain the use of grant option in imp command.
candidate key is subset of super key but not vice-verse explain
What do you understand by a database object?
how may join possible between (requisition with purchase order)
How to compare dates in oracle sql?