Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 12 Dec 2007 @ 12:57:45 GMT


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


Subj:   Re: A question on Left Join
 
From:   David Clough

          >> Sel  A.col1,A.col5, B.col3,B.col4
          >> FROM A
          >> LEFT OUTER JOIN B
          >> ON A.col2=B.col2
          >> WHERE A.col1='FMS'

Looking at your query, it does look pretty simple, but one thing I wasn't sure of is whether A and B are Aliases or the actual names of the tables.

If it's not EXACTLY as you are running it then please supply the EXACT sql, otherwise I would tend to give each Table an Alias and use the Alias in the join.

I'm not sure, but it might just be getting confused.

Dave Clough
Database Designer
Express ICS

www.tnt.com



     
  <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