Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / anita prasad
SELECT MIN(SAL) FROM (SELECT DISTINCT * FROM EMP ORDER BY DESC) WHERE ROWNUM<3;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to use transactions efficiently : transact sql
How is a process of pl/sql compiled?
How to test for null values?
Is primary key clustered index?
How many sql statements are used?
What are character functions in sql?
Can we call a function containing dml statements in a select query?
How to run sql*plus commands in sql developer?
What is a clob in sql?
Mention what is the plv (pl/vision) package offers?
Which is better join or inner query?
How do I remove all records from a table?
Explain exception handling in pl/sql?
Mention what does plv msg allows you to do?
What is the difference between drop and truncate commands?