Online analytical processing (OLAP) Question:
Download Job Interview Questions and Answers PDF
Select item name, color, clothes size, sum(quantity)
from sales group by rollup(item name, color, clothes size);
How many grouping is possible in this rollup?
a) 8
b) 4
c) 2
d) 1
![OLAP Interview Answer OLAP Interview Question](https://globalguideline.com/public/images/interview/3.png)
Answer:
b) 4
Explanation:
{ (item name, color, clothes size), (item name, color), (item name), () }.
Explanation:
{ (item name, color, clothes size), (item name, color), (item name), () }.
Download OLAP Interview Questions And Answers
PDF