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 difference between hql and sql?
What is bind variable in pl sql?
how to convert numeric values to character strings? : Sql dba
What are system versioned tables?
Explian rowid, rownum? What are the psoducolumns we have?
What are the limitations of sql express?
How to move files from one directory to another in pl sql?
What does select count (*) mean in sql?
what are the advantages of using stored procedures? : Sql dba
How do sql triggers work?
what is acid property in database? : Sql dba
What is the difference between numeric and autonumber?
Is delete faster than truncate?
Why is pl sql needed?
Does sap use sql?