Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 17 Mar 2003 @ 15:52:55 GMT


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


Subj:   Re: Several count(distinct) in one select clause
 
From:   Michael Larkins

Philippe:

I believe that I have heard that the restriction for only using one column in a SELECT for all aggregate functions involving a DISTINCT is lifted in V2R5. So, if this is true, it sounds like you are on a prior release.

If you need to do this in a single request before V2R5, I suggest you use one derived table per needed per DISTINCT aggregate value. Then, you can join the derived tables together to consolidate the final output.

Regards, Mike



     
  <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: 15 Jun 2023