Answer Posted / chiru
select *
from (select row_number() over(partition by deptno order by sal desc) r,
b.*
from (select rownum num, a.* from emp a order by sal desc) b)
where r <= 3
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is compiled query?
what is subquery? : Sql dba
What operators deal with null?
What are the different types of constraints?
What is pragma in pl sql?
Explain isolation levels. : Transact sql
What is clause in sql?
What are packages in pl sql and also explain its advantages?
How does pl sql work?
what is an alias command? : Sql dba
Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com
What is record variable?
Can we connect to postgresql using sql developer?
Define sql delete statement.
What is difference between rank () row_number () and dense_rank () in sql?