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 Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016