Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / mallikarjuna
select max(sal) from emp where sal<(select max(sal) from emp);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how to see the create table statement of an existing table? : Sql dba
When is the explicit cursor used ?
How does a covering index work?
What are the different types of dbmss?
What is attribute indicator in pl sql?
How to know the last executed procedure?
What is the difference between drop and truncate commands?
How can you save or place your msg in a table?
what is the difference between delete and truncate commands? : Sql dba
what are set operators in sql? : Sql dba
In what condition is it good to disable a trigger?
Why coalesce is used in sql?
Can we rollback after truncate?
What are the types of queries in sql?
How many unique keys can a table have?