下面的图片说明了层次结构维度缩减的效果。
将长方体的数量从2 ^ N减少到N + 1
通过减少维度,我想知道以下查询如何给出正确答案?
答案 0 :(得分:0)
看起来我找到了答案:=>等于
group by A,B => group by A,B
group by B,C => group by C => group by A,B,C
group by A,C => group by C => group by A,B,C
group by A => group by A
group by B => group by A,B
group by C => group by A,B,C
group by B,C => group by A,B,C