Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / deven
select top 1 salary from emp where salary <>(
select top 1 salary from emp order by salary desc) order by
salary desc
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what are the differences between require and include, include_once and require_once? : Sql dba
What is a Mapplet?
How to display the current date in sql?
What is sql basics?
Is sql dba a good career? : SQL DBA
Can we use join in subquery?
Does truncate require commit?
What is the syntax to add a record to a table?
what is msql? : Sql dba
Can one improve the performance of sql*loader? : aql loader
Explian rowid, rownum?
What is the use of %rowtype?
Is truncate ddl or dml?
What is normalisation in sql?
Explain clause in sql?