find out the third highest salary?

Answer Posted / sanjeev kumar p

select * from emp e1 where (3-1) = (select count(distinct
(e2.sal)) from emp e2 where e2.sal>e1.sal)

Is This Answer Correct ?    99 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use "startup" command to start default instance?

533


How to add another datafile to a tablespace?

569


what are actual and formal parameters?

587


What is the max number of columns in an oracle table?

506


What is control file used for?

594






What is instant client oracle?

533


How to connect to oracle using service name instead of sid?

544


ur a sql devoloper...what is the process in ur company for finding the database BUGS .. seperate DB testers are there? or devr.s are manage? if DB TESTERS in there what is the process

1739


What are the four Oracle system processes that must always be up and running for the database to be useable?

583


State any two functions of oracle?

628


How to filter out duplications in the returning rows using oracle?

631


What do you mean by group by clause?

548


How to use null as conditions in oracle?

572


List out the components of logical database structure of oracle database.

575


How to select an oracle system id (sid)?

575