Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / srinivas
select max(salary) from Emp where salary<(select max(salary) from Emp)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is auto increment in sql?
what are all the different types of indexes? : Sql dba
What are the rules to be applied to nulls whilst doing comparisons?
What is recursive stored procedure?
What is rowtype?
Can we join more than 2 tables in sql?
What is output spooling in sql*plus?
What are operators available in sql?
Is coalesce faster than isnull?
How is a PL/SQL code compiled?
what are date and time data types? : Sql dba
How to handle bulk data?
What is sql indexing?
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
What is the difference between a query and a report?