how to retrieve the top 3 salaries of the table using rownum
Answer Posted / vik
select empno, ename, sal from (select * from emp order by
sal desc) where rownum < 4
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
what is sql profiler? : Sql dba
what is error ora-03113: end-of-file on communication channel?
What is a .db file?
What is dynamic sql in pl sql?
What is a database event trigger?
What is indexing in sql and its types?
how can I make a script that can be bi-language (supports english, german)? : Sql dba
How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?
Is primary key clustered or nonclustered?
what is 'mysqld'? : Sql dba
How can we link a sql database to an existing android app?
Is nosql relational?
Can we insert delete data in view?
Explain ddl statements in pl/sql?
Why is there a need for sqlcode and sqlerrm variables?