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 does sql profiler work?
what is commit? : Sql dba
Is primary key an index?
What do we need to check in database testing?
How would you reference column values before and after you have inserted and deleted triggers?
Is stored procedure faster than query?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
what is bdb (berkeleydb)? : Sql dba
Explain about various levels of constraint.
discuss about myisam key cache. : Sql dba
What is the difference between mdf and ndf files?
What is crud sql?
What is schema in sql example?
What are the types of records?
Does sql*plus also have a pl/sql engine?