Saturday, June 18, 2011
How to find the Dense rank ?
The DENSE_RANK function works acts like the RANK function except that it assigns consecutive ranks:
Select empno, ename, Sal, from (select empno, ename, sal, dense_rank () over (order by sal desc) r from emp);
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment