Archives of the TeradataForum
Message Posted: Tue, 17 May 2005 @ 09:12:15 GMT
Can any body help me out in understanding the cube operator in the terasql.
I have a table 'Test' with 4 attributes (A,B,C,M);
if i query the table as
select A, B, C, sum(M) from Test goupby cube(A,B,C);
The groupbys (ABC,AB*,A*C,*BC,A**,*B*,**C,***) will be computed.
Can anyone tell me how each of the above group-bys are computed Are they each computed on the fly from the table 'Test' or whether each of the group-by is computed in an hierarical order (For example A** group-by can be computed from AB* groupby).
Clarification on this will be appreciated.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|