find out the third highest salary?

Answers were Sorted based on User's Feedback



find out the third highest salary?..

Answer / lakshmi

select sal from emp
where sal = (max(sal) from emp
where sal < (max(sal) from emp
where sal < (max(sal) from emp)));

Is This Answer Correct ?    94 Yes 135 No

find out the third highest salary?..

Answer / ashutosh pandey

select sal from emp
where sal=(select min(sal) from emp
where sal>(select min(sal) from emp
where sal>(select min(sal) from emp);

Is This Answer Correct ?    69 Yes 204 No

Post New Answer

More Oracle General Interview Questions

Is there an oracle sql query that aggregates multiple rows into one row?

0 Answers  


What is Water Mark in Oracle?

7 Answers   Oracle,


12. Display the client name in upper case only and in lower case only.

1 Answers   Wipro,


What is a data lock in oracle?

0 Answers  


How do I uninstall oracle client from windows?

0 Answers  






What are the different editions of oracle?

0 Answers  


How to rebuild an index in oracle?

0 Answers  


What is the difference between a user and a schema in oracle?

0 Answers  


What is a OUTER JOIN?

1 Answers  


How to drop a tablespace?

0 Answers  


how to find out largest value in a table

2 Answers  


How many types of tables supported by oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)