Answer Posted / naresh
Here it is the simple solution.
Select Salary from (Select Salary, Rownum from Employee
order by Salary desc) where rownum=2
Should Work
Cheers!
Naresh
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe varray?
How to display employee records who gets more salary than the average salary in the department?
How to return top 5 rows in oracle?
Can you assign multiple query result rows to a variable?
What is oracle update statement with inner join ?
What is literal?
How to start your 10g xe server from command line?
how the indexes are stored in the Oracle Database?
Why is oracle used?
How will you write a query to get a 5th rank student from a table student_report?
Explain the blob datatype?
How to connect asp pages to oracle servers?
What is a data dictionary and how can it be created?
What is max rowid in oracle?
Is oracle a programming language?