find out the third highest salary?
Answer Posted / siddharth mitra
select *
from (select row_number() over (order by salary asc) as
"ROW_NUM" from emp)
where ROW_NUM = 3;
This only works with oracle 8i and 9i,i.e., row_number is an
analytic function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is better Oracle or MS SQL? Why?
What is a partition in oracle?
Why does oracle 9i treat an empty string as null?
What are the limitations oracle database 10g xe?
How do we get field details of a table?
Is insert autocommit in oracle?
How to write an inner join with the where clause in oracle?
What is a parameter file in oracle?
Can you assign multiple query result rows to a variable?
What is where clause in oracle?
What is the difference between a primary key & a unique key?
How to create id with auto_increment on oracle?
How to build data dictionary view an new database?
How to connect to oracle using service name instead of sid?
How to invoke the data pump export utility?