how to retrieve the top 3 salaries of the table using rownum
Answer Posted / rameshwar gupta
select ename ,sal from (select ename,sal from emp order
by sal desc)
where rownum<4
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is rownum?
Is postgresql a server?
What is cross join example?
What is gpt format?
Is time a data type in sql?
How do I find duplicates in sql?
What is the difference between local variables and global variables?
Explain the purpose of %type and %rowtype data types with the example?
what is the difference between union and union all? : Sql dba
Can we join two tables without common column?
Is sql scripting language?
What is duration in sql profiler trace?
What is the difference between having clause and where clause?
Is sqlite thread safe?
What is rownum and rowid?