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
what is the scenario where you take the database to NoArchivelog mode?
What privilege is needed for a user to create tables in oracle?
What is max rowid in oracle?
How would you begin to troubleshoot an ORA-3113 error?
Explain an index segment?
How to compare dates in oracle sql?
What are the different types of failures that occur in Oracle database?
Why does oracle 9i treat an empty string as null?
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....
Is java required for oracle client?
What is the max number of columns in an oracle table?
How to assign values to variables?
What is the difference between $oracle_base and $oracle_home?
What is procedure overloading in oracle?
Explain user account with reference to oracle.