find out the third highest salary?

Answer Posted / mahesh

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

Is This Answer Correct ?    11 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use os authentication with weblogic jdriver for oracle and connection pools?

574


Why use resource manager in Oracle?

663


What are the arithmetic operations?

581


How to run create database statement again?

618


What is an oracle database table?

594






Explain the use of record option in exp command.

533


How to drop an existing view in oracle?

568


Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.

1363


How to update values on multiple rows in oracle?

599


How to use null as conditions in oracle?

582


how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

4668


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1564


Give the various exception types.

544


What is the difference between post-database commit and post-form commit?

515


Explain a data segment?

648