Query to get max and second max in oracle in one query ?
Answer Posted / braulio
-- that's it
select * from
(select max(salary) from salary)
where rownum = 2
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Briefly explain what is literal? Give an example where it can be used?
Is rowid unique in oracle?
20. Using a set operator, display the client number of all clients who have never placed an order.
What are the various types of snapshots ?
How to initialize variables with default values?
How to run create database statement again?
Explain a data segment?
What does sharding mean?
How many types of segments in Oracle?
What happens if recursive calls get out of control?
What is varray?
In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.
how the indexes are stored in the Oracle Database?
I creat Credit memo in AR. Now i want revers the Credit Memo.how you can revers that what out any aditional entry.
How to load data through external tables?