Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 03 Jun 2009 @ 07:29:35 GMT


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


Subj:   LAST row in an aggregate group
 
From:   Chaim Sender

Hi there,

Does Teradata have a function which would select the last row in an aggregate group?

eg:

     Name Department
     John  IT
     Steven IT
     Susan IT
     Paul  HR
     Pauline HR

Would provide the following two rows

     Susan IT
     Pauline HR

Thanks

Chaim



     
  <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