rollup分析函数

表的初始数据: 使用rollup进行汇总之后的数据: select t.first_name,sum(t.salary)  from t_test1 t group by rollup(t.first_name) 可以改写为: select nvl(t.first_name,'total'),sum(t.salary)  from t_test1 t group by rollup(t.first
相关文章
相关标签/搜索