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
What is the difference between left and left outer join?
Is a foreign key always unique?
How does postgresql compare to oracle/db2/ms sql server/informix?
How to avoid using cursors?
State few characteristics of pl/sql?
How do you determine the current isolation level? : Transact sql
What is an inconsistent dependency?
Which language is used in sql?
What is over () in sql?
What is trigger types of trigger?
What is loop in pl sql?
How can you get sql*loader to commit only at the end of the load file? : aql loader
What is sqlerrm?
Can a foreign key have a different name?
i have some prob lem to tell me about my self in interview first round ...