ORACLE分組統計

ORACLE分組統計 ORACLE統計 分組統計就是:按照某種條件,用某種聚合函數統計 一般用到的分組統計有三種 grouping sets: 可以分多組需要分組的值 , 該函數裏面的多組分組列,和 grou by grou1 union grou by grou2 效 果一樣. 如: select a,b,c,d,sum(e) from dept group by grouping sets((
相關文章
相關標籤/搜索