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 dml with example?
How many types of primary keys are there?
How to change sql*plus system settings?
What are the types pl/sql code blocks?
What sql database should I use?
Explain the difference between drop and truncate commands in sql?
What is the current version of sql?
How many types of triggers exist in pl/sql?
what are dynamic queries in t-sql? : Transact sql
how to add a new column to an existing table in mysql? : Sql dba
How does rowid help in running a query faster?
What are the disadvantages of file system?
What is record in pl sql?
What is the maximum number of rows in sql table?
Does execute immediate commit?