Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 13 Sep 2006 @ 16:12:37 GMT


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


Subj:   Which method is faster?
 
From:   Kunnath, Sidharth

Hi,

Is selecting data using the distinct clause faster than using a group by clause?

Consider these queries as examples

     Select c3, c4 from temp1
     Group by 1, 2

     Select distinct c3, c4 from temp1

Also (c3, c4) are not PI.


Thanks & Regards,

Sidharth Kunnath,
Technical Consultant



     
  <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