Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / nitika
SELECT MAX(SAL) FROM EMPLOYEE WHERE SAL<(SELECT MAX(SAL)
FROM EMPLOYEE);
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of primary key?
Explian rowid, rownum? What are the psoducolumns we have?
What is the difference between distinct and unique in sql?
What are analytical functions in sql?
What is query execution plan in sql?
When are we going to use truncate and delete?
Can we join more than 2 tables in sql?
What is sqlite used for?
how mysql optimizes distinct? : Sql dba
Does user triggers have entry for trigger with compilation errors?
What is benefit of creating memory optimized table?
Which nosql database is best?
what is bcp? When does it used? : Sql dba
Differentiate between % rowtype and type record.
What is pl sql architecture?