Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 08 Feb 2008 @ 01:18:48 GMT


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


Subj:   Re: How to code a join or restructure table?
 
From:   Pinti, Michele A

After looking at my SQL again I have figured out want I needed to do:

     SEL B.*
     FROM ADHOC.RATES A
     INNER  JOIN ADHOC.RATES B
     ON A.RATEID = B.RATEID - 1
     WHERE .1653 BETWEEN A.AMOUNT AND B.AMOUNT ;

I needed to return SEL A.* instead of B.*

<Overlooked the obvious>

Thanks for your assistance!



     
  <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: 27 Dec 2016