|
Archives of the TeradataForumMessage Posted: Tue, 17 May 2005 @ 09:12:15 GMT
Hi All, Can any body help me out in understanding the cube operator in the terasql. Scenario: 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. Thank You Pratap
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||