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
What do you mean by redo log file mirroring?
Give the constructs of a package, function or a procedure.
What is the difference between hot backup and cold backup in oracle?
Why do we need integrity constraints in a database?
Can we store pictures in the database and if so, how it can be done?
Explain what are the different type of segments?
How does Oracle guarantee data integrity of data changes?
What is a nested table and how is it different from a normal table?
What happens to the data files if a tablespace is dropped?
How to convert times to characters in oracle?
What are the limitations of check constraint?
How to start your 10g xe server?
Does facebook use oracle?
How do I connect to oracle?
Can we save images in a database and if yes, how?