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 different tcl commands in sql?
Is null operator in sql?
What is pls integer?
Explain isolation levels. : Transact sql
Is pl sql still used?
how to create a new table in mysql? : Sql dba
What is data profiling in sql?
Explain the commit statement.
How to process query result in pl/sql?
Define tables and fields in a database
How do I remove duplicates in two columns?
what is dbms? : Sql dba
Inline the values in PL/SQL, what does it mean.?
How do I view a table in sql?
What is indexing in sql and its types?