Hi everyone,
I'm not sure how to do this...
Say, I have two tables. tblRevenue2007 and tblRevenue2006. Both table have the same columns, CustomerName and Sales. I want to run a query that gives me all the CustomerNames (from both tables) and SumSales2006 and SumSales2007. I tried a union query, but then I cannot discriminate between SumSales2006 and SumSales2007. A left or right join will leave out customers from either table. So how to proceed?
Pampers
Keeping it simple can be complicated
I'm not sure how to do this...
Say, I have two tables. tblRevenue2007 and tblRevenue2006. Both table have the same columns, CustomerName and Sales. I want to run a query that gives me all the CustomerNames (from both tables) and SumSales2006 and SumSales2007. I tried a union query, but then I cannot discriminate between SumSales2006 and SumSales2007. A left or right join will leave out customers from either table. So how to proceed?
Pampers
Keeping it simple can be complicated