find out the third highest salary?
Answer Posted / dayaram & sarfaraz (dost)
select a.empno,a.ename,a.sal from emp a
where &n = (select count(distinct(b.sal)) from emp b where
b.sal>= a.sal
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
How to fetch the row which has the max value for a column?
Explain the dml?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
How to resolve name conflicts between variables and columns?
What is logical backup in oracle?
How to delete a column in an existing table?
Explain what are the characteristics of data files?
How to create a new oracle data file?
Point the difference between translate and replace?
What is the difference between 10g OEM and 11g OEM?
How to loop through data rows in the implicit cursor?
What is the dynamic sql in oracle?
How to estimate disk space needed for an export job?
Is oracle the best database?
What is coalesce function?