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
Why is nosql good?
What is range partitioning?
how to dump a table to a file with 'mysqldump'? : Sql dba
what is datawarehouse? : Sql dba
What programs use sql?
What is not in sql?
How does index help in query performance?
Explain the components of sql?
how to show all tables with 'mysql'? : Sql dba
What is the difference between local variables and global variables?
What does (*) mean in sql?
Does a user_objects view have an entry for a trigger?
What is sp_helptext?
What is difference between pls_integer and integer?
Can you upgrade sql express to full sql?