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

Answer Posted / srinivas

select max(sal) from emp where sal<(select max(sal) from emp 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

What is the difference between the conventional and direct path loader? : aql loader

864


How to execute a stored procedure?

755


How do I run sql profiler?

764


Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

892


What is user defined functions?

746






What is sqlca in powerbuilder?

746


What are the different sql commands?

724


What has stored procedures in sql?

779


What is dba in sql? : SQL DBA

745


how do you control the max size of a heap table? : Sql dba

702


Can we have two clustered index on a table?

760


what are the drivers in mysql? : Sql dba

736


Can we use threading in pl/sql?

712


Can a view be mutating? If yes, then how?

753


What are the types of views in sql?

748