Archives of the TeradataForum
Message Posted: Fri, 30 Jul 2004 @ 12:52:47 GMT
Use and outer join instead and you will always return data from the driver table. With an inner join you will only return data that has a match.
The LEFT outer join will return all rows from the left table and null from the other tables joining to it if there is not a match.
You can filter out any rows that you do not want using a where clause.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 15 Jun 2023|