--向rollup传递一列select division_id,sum(salary) from employees2 group by rollup(division_id); --向rollup传递多列select division_id,job_id,sum(salary) from employees2 group by rollup(division_id,job_id); --修改传递给rollup的列的位置select job_id,division_id,sum(salary)…