Answer Posted / soujanya
RANK calculates the rank of a value in a group of values.
Rows with equal values for the ranking criteria receive the
same rank. Oracle then adds the number of tied rows to the
tied rank to calculate the next rank. Therefore, the ranks
may not be consecutive numbers.
eg: SELECT RANK(15500, .05) WITHIN GROUP
(ORDER BY salary, commission_pct) "Rank"
FROM employees;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is oracle the best database?
Explain the characteristics of oracle dba?
How many types of tables are there in oracle?
What is a cursor in oracle?
What is memory advisor in Oracle?
What is execute immediate in oracle?
What are group functions in oracle?
How to create id with auto_increment on oracle?
I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database
What is oracle rownum?
What is rich query?
How to create a new table in oracle?
What is Reduced List of Values?
How to use fetch statement in a loop?
How to drop an index?