find out the third highest salary?

Answer Posted / punit chauhan

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


punit chauhan
iMS NOIDA
doing MCA

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to login to the server without an instance?

623


How to select an oracle system id (sid)?

592


Can I create users through internet explorer in oracle 10g?

573


what is the difference between restoring and recovering?

558


What is oracle join syntax?

573






i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?

1473


What is program global area (pga) in oracle?

609


What's dateware house and what's clustor with practicle example

1643


Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.

1652


What is a database schema in oracle?

626


22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100

1609


ABOUT IDENTITY?

1567


various types of hints and their usage

2132


Where do we use decode and case statements?

564


What is the use of file param in imp command?

646