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 is cursor. write example of it. What are the attributes of cursor.
What are aggregate functions in sql?
Do prepared statements prevent sql injection?
How to call a javascript function from pl sql?
What are different types of triggers?
What are the advantages of indexing?
what are the disadvantages of mysql? : Sql dba
Can we join two tables without common column?
what are the different functions in sorting an array? : Sql dba
what is data integrity? : Sql dba
what is the difference between clustered and non clustered index in sql? : Sql dba
Does inner join return duplicate rows?
how to concatenate two character strings? : Sql dba
how to dump a table to a file with 'mysqldump'? : Sql dba
Where is all the data on the internet stored?