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
how to convert dates to character strings? : Sql dba
What is difference sql and mysql?
Which one is better sql or oracle?
What are all the common sql functions?
What is numeric function sql?
How do I run sql profiler?
What is partition by in sql?
What is file based approach?
What is an intersect?
Does sql profiler affect performance?
Is mariadb nosql?
what is the difference between where clause and having clause? : Sql dba
How to look at the current sql*plus system settings?
How do you create a unique index?
How to handle bulk data?