1、在ROLLUP中对单列使用GROUPING(). SQL> select division_id,sum(salary) 2 from employees2 3 group by rollup(division_id)
確定! 回上一頁