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
How to use regular expression in pattern match conditions in oracle?
Explain compound trigger in oracle?
How to commit the current transaction in oracle?
How to drop an index in oracle?
How to start an oracle instance?
how to make an oracle object
how to do daily transactions with out sql* loader control file regesterd in apps?
How to use "out" parameter properly?
How to connect the oracle server as sysdba?
How to create a stored function in oracle?
How to use select statement to count the number of rows in oracle?
Where do we use decode and case statements?
What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?
How many types of tables are there in oracle?
How to add a new column to an existing table in oracle?