Saturday, 18 June 2011
A query to assign the Ranks
Select empno, ename, sal, r from (select empno, ename, sal, rank () over (order by sal desc) r from EMP);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment