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
Please explain oracle left join with an example?
Can multiple columns be used in group by in oracle?
Differentiate between translate and replace?
How to estimate disk space needed for an export job?
Explain the difference between replace() and translate() functions in oracle?
What is the sid in oracle?
Explain coalesce function?
How to export data to a csv file?
What are the different types of trigger and explain its various uses and functions?
How to delete a column in an existing table in oracle?
What are nested tables?
Explain about integrity constraint?
Which are the five query types available in oracle?
What are the roles of dba?
Can we convert a date to char in oracle and if so, what would be the syntax?