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 oracle functions?
What are the arithmetic operations?
How to display employee records who gets more salary than the average salary in the department?
What is primefaces used for?
Does oracle partitioning improve performance?
What to do if the startbd.bat failed to start the xe instance?
What are the different pseudo commands? Explain in general?
What is materialized view in Oracle?
How to load excel data sheet to oracle database
How to start a new transaction in oracle?
what is a Nested Loop join?
why dont we assign not null constraint as table level constraint.
What is the usage of synonyms?
Difference between cartesian join and cross join?
What is a nested table and how is it different from a normal table?