All About Oracle Apps
Wednesday, November 5, 2008
DENSE_RANK
Here we are going to use the analytical function DENSE_RANK to find the employees who hold the 7th highest salary
select * from (select ename, sal ,
dense_rank() over(order by sal desc)
myrank from emp) where myrank=7
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment