how to check the 3rd max salary from an employee table?

Answer Posted / arjun

select min(sal) from (select sal from (select distinct(sal)
from emp order by sal desc) where rownum<4)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can use stored procedures in sql?

580


Does google use sql?

508


Does pl sql work in mysql?

531


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

562


What are all the ddl commands?

624






What is database sql?

539


Cite the differences between execution of triggers and stored procedures?

617


What are the types of keys?

510


How is pl sql different from sql?

540


Can we use threading in pl/sql?

513


what is data manipulation language? : Sql dba

527


What is your daily office routine?

1808


What are the key differences between SQL and PL SQL?

624


Define select, insert, create, delete, update, drop keywords

596


How do you rank data in sql?

514