find the third highest salary?

Answer Posted / pradeep

select * from emp where sal in(select min(sal) from (select
sal from emp order by sal
desc) where rownum <= 3);

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are tables and fields?

762


What does select * from mean in sql?

2543


What are triggers in sql?

749


Explain the working of foreign key?

726


What is dml statement?

699






Is sqlite thread safe?

789


define join and explain different type of joins? : Sql dba

736


What is flag in sql?

741


What is a delimiter in sas?

733


how to include comments in sql statements? : Sql dba

723


What are the types of join and explain each?

773


What are pl sql procedures?

701


What is the reports view in oracle sql developer?

722


What is the use of triggers?

738


What is cte sql?

718