Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 28 Aug 2009 @ 00:42:23 GMT


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


Subj:   Re: Easy way to get the latest updated row in a query
 
From:   Victor Sokovin

  I think this is the ugliest SQL trick I know.  


I take your word for it, Dave, but how does it help with the original question? It's probably getting too late here for me to follow but your (or Tom's) method seems to be some kind of deduping whereas the question was about sorting and extracting rows with some ranking condition (highest ranking in this particular case). I understand one either does the join described in the original posting or goes OLAP.


Victor



     
  <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