Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 15 Dec 2007 @ 14:55:59 GMT


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


Subj:   Re: A question on Left Join
 
From:   Jim Tepin

Hi,

The query as you wrote it, should return 45 rows. However, if your 'where' clause sets a condition on table B, it will negate the left outer join. When doing left outers, be careful what you place in the join "ON" vs. the "Where".

By chance, when you were translating your actual code to this example... was something missed.



     
  <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