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
How to avoid using cursors? What to use instead of cursor and in what cases to do so?
what is datawarehouse? : Sql dba
How can a pl sql block be executed?
How do you remove duplicates without using distinct in sql?
Why are cursors used?
Can primary key be changed?
What are the types of views in sql?
What is sql stand for?
Can variables be used in sql statements?
What is join view in sql?
What are character functions?
how to calculate expressions with sql statements? : Sql dba
State few characteristics of pl/sql?
What is sql in oracle?
Can we insert data into view?