Archives of the TeradataForum
Message Posted: Wed, 12 Dec 2007 @ 12:57:45 GMT
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
|