ROW_NUMBER、RANK、DENSE_RANK的用法
ROW_NUMBER 的用法ROW_NUMBER over (partition by col1 order by col2)
ROW_NUMBER over (partition by col1 order by col2)
具体看一下连接
http://apps.hi.baidu.com/share/detail/5448514