Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / naresh kumar kalangi
select top 1 * from (select top 2 * from emp order by sal
desc)s order by sal
Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
How to combine two stored procedures in sql?
How many types of literals are available in pl sql?
define sql insert statement ? : Sql dba
How many types of cursors supported in pl/sql?
How to run pl/sql statements in sql*plus?
What is sqlerrd?
What is use of trigger?
What is mutating sql table?
What type of database is cloud sql?
What are the main features of cursor?
What is t sql in sql server?
Why is stored procedure faster than query?
What is a primary key? Explain
What is acid property in a database?
Why procedure is used in sql?