Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 17 May 2005 @ 09:12:15 GMT


     
  <Prev Next>  
<<First
<Prev
Next>
Last>>
 


Subj:   Question on Cube operator
 
From:   Pratap Manubolu

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



     
  <Prev Next>  
<<First
<Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016