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 serial sql?
Why do we use triggers?
What is replication id?
Explain the purpose of %type and %rowtype data types?
what is a field in a database ? : Sql dba
What is the basic structure of an sql?
Is sql free?
What is pl sql record in oracle?
Is inner join faster than left join?
What are sql queries used for?
how to add a new column to an existing table in mysql? : Sql dba
List and explain the different types of join clauses supported in ansi-standard sql?
Can a table contain multiple primary key’s?
what is transaction? : Sql dba
What are reports usually used for?