74
74
# Cube is not yet implemented
76
76
select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
78
78
explain select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
80
80
select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube union all select product, country_id , year, sum(profit) from t1 group by product, country_id, year with rollup;