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
Is there any function in oracle similar like group_concat of mysql?
Explain an index segment?
What is a initialization parameter file in oracle?
What is memory advisor in Oracle?
What happens if variable names collide with table/column names?
What are the execution control statements in oracle?
How to resolve name conflicts between variables and columns?
What is meant by joins?
What is concurrency in oracle?
Does oracle partitioning improve performance?
How to commit the current transaction in oracle?
What is a server parameter file in oracle?
How to call a stored function in oracle?
How to get last row id?
I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?