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
how to convert .db (extention) database file into .dmp (extention ) for oracle database ?
Explain the use of consistent option in exp command.
What are the differences between number and binary_float in oracle?
Explain a data segment?
How can we find out the duplicate values in an oracle table?
How to create a new table by selecting rows from another table?
How to test null values?
What are a collation and state the different types of collation sensitivity?
Why do we need oracle client?
What is an oracle user role?
How to unlock the sample user account in oracle?
What are the attributes that are found in a cursor?
What is data block in Oracle?
How to check database size in Oracle?
What is a table index in oracle?