tgarner444
November 5th, 2007, 01:39 PM
I have a single file which contains all of our company customers. I want to select all of our customers who did business with us in 2004, with an indication whether they did business with us in 2006 or not.
In the Database Expert I select the customer table twice, the second being given an alias. I join the two tables on customer id, with a left outer join. For the first table I select records only with the year 2004. I select records with 2006 from the alias table.
This doesn't work. Somehow the left outer join is becoming an inner join. The only customer records selected are those we did business with in 2004 AND 2006.
Please assist.
In the Database Expert I select the customer table twice, the second being given an alias. I join the two tables on customer id, with a left outer join. For the first table I select records only with the year 2004. I select records with 2006 from the alias table.
This doesn't work. Somehow the left outer join is becoming an inner join. The only customer records selected are those we did business with in 2004 AND 2006.
Please assist.