摘要: 測試表emp RANK SQL> select EMPNO,DEPTNO,SAL, 2 rank()over(partition by DEPTNO order by SAL) "rank" 3 from emp; EMPNO DEPTNO SAL rank 7934 10 1300 1 7782 阅读全文
posted @ 2016-04-13 10:15 guilingyang 阅读(191) 评论(0) 推荐(0) 编辑