oracle查詢sql語句

Oracle查詢語句   select*from scott.emp ; 1.--dense_rank()分析函數(查找每個部門工資最高前三名員工信息) select*from(selectdeptno,ename,sal,dense_rank()over(partitionby deptno orderby sal desc) a fromscott.emp)where a<=3orderbyd
相關文章
相關標籤/搜索