Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 07 Jun 2005 @ 17:49:00 GMT


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


Subj:   Re: Count distinct set of rows
 
From:   Brian.Jones

You can concatenate the columns...

     SELECT COUNT(DISTINCT COLUMN_A||COLUMN_B||COLUMNS_C)
        FROM TABLE WHERE X=Y;


     
  <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