5.11

Show how to express GROUP BY CUBE(a,b,c,d) using ROLLUP; your answer should have only one GROUP BY clause.


GROUP BY ROLLUP(a), ROLLUP(b), ROLLUP(c), ROLLUP(d)