find out the third highest salary?

Answer Posted / prithvi

select Max(sal) from emp

This will give us 1highest sal

Select Max (sal) from where sal <(select Max(sal) from emp)

Select Max (sal) from where sal <(Select Max (sal) from
where sal <(select Max(sal) from emp))

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of show option in imp command.

644


How can I see all tables in oracle?

547


How to open and close an explicit cursor in oracle?

579


What is PL/SQL ?

1117


Where do you use decode and case statements?

556






What is SQL Tuning Advisor in Oracle?

635


How to get a list of all user accounts in the database?

618


Iam learning oracle developer 2000.. can anyone give me then tutorials sites or PDF related to developer 2000 please send me the details @ mak2786@gmail.com thanks Arun

1666


What is rowid and rownum in oracle?

545


Can the query output be sorted by multiple columns in oracle?

574


What is analyze command used for?

582


What is literal?

589


what is port in oracle? how is it related to database application.

1442


How to invoke the original export import utilities?

507


What is an oracle database table?

598