Query to get max and second max in oracle in one query ?
Answer Posted / asdasd
SELECT min(gross) FROM(SELECT distinct(gross) FROM
srbs_staff_pay_dtls ORDER
BY gross DESC) WHERE ROWNUM<=4;
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How to shutdown your 10g xe server from command line?
Differentiate between post-database commit and post-form commit?
How to use "for" statements in oracle?
How to view the data files in the current database?
How to create an oracle database?
Can I create users through internet explorer in oracle 10g?
What is an oracle and why it is used?
What are the various oracle database objects?
Which are the five query types available in oracle?
How to check the oracle tns settings?
What are a cluster and non-cluster index?
What suggestions do you have to reduce the network traffic?
What is the difference between translate and replace in oracle?
What is a directory object?
What to do if the startbd.bat failed to start the xe instance?