how to retrieve the top 3 salaries of the table using rownum
Answer Posted / k.thrilok kumar
select rownum, sal from (select * from emp order by sal
desc) where rownum<=3
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why cross join is used?
Can a foreign key be a duplicate?
What are triggers and its uses?
How can you get sql*loader to commit only at the end of the load file? : aql loader
How do I start sql from command line?
What is delete command in sql?
How to change sql*plus system settings?
What is a scalar value in sql?
explain advantages of myisam over innodb? : Sql dba
What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql
what is data integrity? : Sql dba
How do I start pl sql?
what are date and time data types in mysql? : Sql dba
What is difference between mysql and postgresql?
What are the two different parts of the pl/sql packages?