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
Explain a synonym?
What is a partition in oracle?
Is rowid unique in oracle?
How to drop a stored procedure in oracle?
In oracle there is column command, how will you explain that?
What is the sid in oracle?
How to store pictures on to the database?
Explain rename?
Explain a data segment?
What is a trigger and what are its types in oracle?
What is system global area (sga) in oracle?
What is the usage of control file in oracle?
What is query image?
How does one get the view definition of fixed views/tables?
20. Using a set operator, display the client number of all clients who have never placed an order.