Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 22 Jan 2003 @ 23:44:00 GMT





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




Subj:   Re: Distinct count problem
 
From:   Sukesan, Ambili



have you tried the CSUM OLAP function?

     Select Mode, Plant
     From Test
     qualify  csum(1,mode,plant, countx desc)=1
     group by mode,plant




     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008