how to retrieve the top 3 salaries of the table using rownum
Answer Posted / moorthy(information dynamic)
select sal,rank()over (order by sal desc) from emp where
rownum < = 3;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is difference between stored function and application function?
How to look at the current sql*plus system settings?
what is the functionality of the function htmlentities? : Sql dba
What is difference between pl and sql?
What is coalesce in sql?
Does normalization improve performance?
Can ddl statements be used in pl/sql?
What is delete command in sql?
Explain normalization and what are the advantages of it?
What is procedure function?
What is view explain with example?
how can we repair a mysql table? : Sql dba
What is function and procedure?
How can you fetch common records from two tables?
what does myisamchk do? : Sql dba