Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / venkat
select max(sal) from emp where sal<(select max(sal) from
emp);
| Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
Sql technical questions
how to create a test table in your mysql server? : Sql dba
How to avoid using cursors?
How to write a query to show the details of a student from students table whose
what are the different type of sql's statements ? : Sql dba
What is java sql driver?
Is sql low level language?
What is field delimiter?
How to make a copy values from one column to another in sql?
How to rename a table?
what is the difference between truncate and delete statement? : Transact sql
What does the base_object_type column shows in the user.triggers data dictionary view?
tell me about various levels of constraint. : Sql dba
Explain the select statement in sql?
What steps server process has to take to execute an update statement?