Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 13 Jan 2000 @ 21:57:57 GMT


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


Subj:   Re: Nested Left Joins
 
From:   Jeremy Christiansen

If you want inner join T2 and T3 and then outer join T1, use the following:

     SELECT T1.*,T2.*,T3.* /* or whatever */
        FROM ((T2
       INNER JOIN T3
          ON T2.C1 = T3.C1
         AND T2.C2 = T3.C2)
       RIGHT JOIN T1
          ON T1.C1 = T2.C1)
      ;


     
  <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