Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / kotravel. b
SELECT MAX(SAL) FROM EMPLOYEE WHERE SAL<(SELECT MAX(SAL)
FROM EMPLOYEE);
THIS will surly give 2^nd max sal ok this correct ans ok....
| Is This Answer Correct ? | 85 Yes | 13 No |
Post New Answer View All Answers
What is the difference between cross join and natural join?
What is indexing oracle sql?
What are the sql versions?
Explain the rollback statement?
Is clustered index a primary key?
How can I tell if sql is running?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
Is pl sql better than sql?
what are the drivers in mysql? : Sql dba
What are the various levels of constraints?
How do I create a sql script?
What are the commands used in sql?
What can I use instead of union in sql?
How do I debug a stored procedure?