
Originally Posted by
June7
First, there is no reason to join to the Countries table in this query because you are linking on the country name, not the ID. This means the country name is saved in the spend tables and no other information is in the Countries table.
I think you will need a UNION query for this. Either UNION the two tables and then do an aggregate query or do aggregate query on each of the spend tables and UNION those.
There is no designer or wizard for UNION, must type in the SQL View editor of the query designer.
SELECT ID, Day, Country, Cost, Channel FROM International
UNION SELECT ID, Day, Countries, Cost, Channels1 FROM Domestic;
Think I would design these tables differently so this UNION would not be needed.
Why does International have records for United States?
Looks like you started to set up Relationships. The relationship for Partners and Channels is wrong.