Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / malli
select max(sal) from emp where sal<(select max(sal) from emp);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between instead of trigger and after trigger?
Can we use distinct and group by together?
Which operator is used in query for pattern matching?
What do you understand by case manipulation functions?
Can %notfound return null after a fetch?
How do you create a db file?
What are different methods to trace the pl/sql code?
What does t sql mean?
How to know the last executed procedure?
Can we write ddl statements in functions?
What is an exception in pl/sql?
explain commit and rollback in mysql : sql dba
Is pl sql different from sql?
Can we use rowid as primary key?
Is grant a ddl statement?