Answer Posted / nag.vamshi
select* from(select ename,deptno,sal,row_number()
over(partiton by deptno order by sal)num from emp)
where num<=3
order by deptno;
| Is This Answer Correct ? | 24 Yes | 11 No |
Post New Answer View All Answers
What type of join is sql join?
What are the basic techniques of indexing?
What is sql clause?
explain the options of myisamchk to improve the performance of a table. : Sql dba
What are different types of sql?
Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?
Is left join faster than inner join?
What is sql and db2?
What is pl sql record in oracle?
What is a column in a table?
what are set operators in sql? : Sql dba
Is id a reserved word in sql?
Which is better varchar or nvarchar?
Which command is used to call a stored procedure?
What is the difference between a query and a report?