find out the third highest salary?

Answer Posted / vanaja

select * from emp5 where salary in(select min(salary) from
emp5 where salary in(select top 3 salary from emp5 order by
salary desc))

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is SQL Tuning Advisor in Oracle?

633


What are the differences between date and timestamp in oracle?

551


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

1472


What are named parameters?

614


How to write a query with a left outer join in oracle?

605






What is recovery manager in Oracle?

590


How index is implemented in oracle database?

596


What is meant by recursive hints in oracle?

618


How to execute a stored procedure in oracle?

618


What are advantages of dateset in datastage?

1744


how to handle exceptions in post production

948


what is Single Byte Overhead...?

2061


How data locks are respected in oracle?

574


What is the data pump export utility?

643


What is a read only transaction in oracle?

594