adplus-dvertising
frame-decoration

Question

How many grouping is possible in this rollup?
SELECT item name, color, clothes SIZE, SUM(quantity)
FROM sales
GROUP BY rollup(item name, color, clothes SIZE);

a.

8

b.

4

c.

2

d.

1

Posted under DBMS

Answer: (b).4

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many grouping is possible in this rollup?