Query to get max and second max in oracle in one query ?
Answer Posted / subodh tiwari
SELECT ENAME,SAL FROM (SELECT ENAME,SAL FROM EMP ORDER BY
SAL DESC) WHERE ROWNUM<=2
Is This Answer Correct ? | 15 Yes | 9 No |
Post New Answer View All Answers
How to run the anonymous block again?
How to speed up webrick?
What is the oracle implicit cursor?
What are the database administrators utilities available?
How much memory your 10g xe server is using?
What is translate in oracle?
How do I manually create a database in oracle?
How can you use check constraints for self referential integrity?
how may join possible between (requisition with purchase order)
What is the fastest query method to fetch data from the table?
Why do you use stored procedures and state some of its disadvantages?
What is save point in oracle database?
Explain drop constraint oracle?
What is dynamic proxy?
How do I call oracle stored procedures that take no parameters?