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
What are basic techniques of indexing?
What plvcmt and plvrb does in pl/sql?
What type of database is cloud sql?
How to rename a column in the output of sql query?
What is a unique key?
explain advantages of innodb over myisam. : Sql dba
what is a tablespace? : Sql dba
How does postgresql compare to oracle/db2/ms sql server/informix?
What is a constraint?
Is primary key always clustered index?
What are the types of variable use in pl sql?
what is try_catch block in procedure
What is the difference between clustered and non-clustered index in sql?
How can you fetch first 5 characters of the string?
how many sql ddl commands are supported by 'mysql'? : Sql dba