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
Which are the different types of indexes in sql?
How sql query is executed?
What are triggers and its types?
What is procedure and function in sql?
What is secondary key?
who introduced sql?
What do you mean by “trigger” in sql?
When is the explicit cursor used ?
What is the difference between python and sql?
What is the difference between truncate and drop statements?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
What is Histogram?
what is dbms? : Sql dba
How to add a column ‘salary’ to a table employee_details?
Explain two easy sql optimizations.