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 insert a new row into a table in oracle?
Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?
Respected sir, Please send me technical questions related to oracle apps..
What is ceil and floor in oracle?
What is oracle in java?
Explain a data segment?
What is the relation of a user account and a schema in oracle?
How to use values from other tables in update statements using oracle?
Is oracle an open source?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
What are the advantages of oracle?
How to define an oracle cursor variable?
What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?
What to do if the binary spfile is wrong for the default instance?
What is a nvl function? How can it be used?