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
explain advantages of myisam over innodb? : Sql dba
How much does sqlite cost?
Can we create clustered index without primary key?
What is the difference between alter trigger and drop trigger statements?
How do you write an index?
What does trigger mean in slang?
Advantages and disadvantages of stored procedure?
what is the use of friend function? : Sql dba
Why sql query is slow?
What is rtm in testing?
How do you write a subquery?
How does index help in query performance?
What are the indexing methods?
What is a sql profiler?
Where is pl sql used?