257
257
select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
259
259
explain select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
261
261
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;
262
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'cube union all select product, country_id , year, sum(profit) from t1 group by p' at line 1
265
265
INSERT INTO t1 VALUES(100);