find out the third highest salary?

Answer Posted / neha

select max(sal) from emp where sal <(select max(sal)from emp
where sal<(select max(sal) from emp));

Is This Answer Correct ?    103 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to open a cursor variable?

602


src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));

1179


How to turn on or off recycle bin for the session?

608


How many types of tables are there in oracle?

574


How to update a table row with a record?

597






Explain integrity constraint?

641


How to drop an index in oracle?

602


What are internal user account in oracle?

567


is there a tool to trace queries, like profiler for sql server?

599


What are the limitations of check constraint?

568


What is BBED in Oracle?

683


Can multiple columns be used in group by in oracle?

544


How to shutdown your 10g xe server?

616


What is meant by raw datatype?

568


What is recycle bin in Oracle?

713