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 the difference between distinct and unique in sql?
What is a left inner join?
Are there any features that are decommissioned in 11g that are not present in 11g?
Is record in pl sql?
Is sql developer case sensitive?
What is difference sql and mysql?
Can we perform dml on view?
What is left join example?
What are the set operators in sql?
What is embedded sql in db2?
What are sql ddl commands?
What are the types of join and explain each?
What is on delete set null?
What are commit, rollback, and savepoint?
Show code of a cursor for loop.