Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / boby
select max(MAXI) from
(SELECT max(slno) AS MAXI FROM EMPLOYEE WHERE slno not IN(SELECT max(slno) FROM EMPLOYEE )
GROUP BY slno)a
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you explain an index?
What does closing a cursor do?
What is application trigger?
How does sql*loader handles newline characters in a record? : aql loader
Is postgresql a nosql database?
What is sqlca in db2?
how do you tune the slow running queries in oracle db , explain the methodology
Explain the significance of the & and && operators in pl sql.
What do you understand by pl/sql cursors?
what are myisam tables? : Sql dba
What is union?
What are the differences between in and exists clause?
What is data manipulation language?
Can function return multiple values in sql?
How do you create a db file?