Find out the 3rd highest salary?

Answer Posted / arindam

select min(sal) from
(
select sal from
(
select distinct sal from emp order by sal desc
)
where rownum<=3
)
where rownum <4

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the rollback statement?

577


what is a relationship and what are they? : Sql dba

552


What is date functions?

577


Can we use insert statement in function?

516


Why is there a need for sqlcode and sqlerrm variables?

587






What do you understand by case manipulation functions?

547


How many types of sql are there?

531


Which is better cte or subquery?

544


Can we connect to postgresql using sql developer?

489


Explain the purpose of %type and %rowtype data types?

503


What is sql server and ase?

540


Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?

671


What is partition in sql query?

519


What is a memo field?

529


how can you see all indexes defined for a table? : Sql dba

537