I need to figure out a query in MS Access to combine two intersecting tables into one, where the intersecting values are summed.
Example:
Table1:
ID value
1 10
2 20
3 30
Table2:
ID value
2 40
3 60
4 80
ResultTable:
ID value
1 10
2 60 ( = 20 + 40)
3 90 ( = 30 + 60)
4 80
Example:
Table1:
ID value
1 10
2 20
3 30
Table2:
ID value
2 40
3 60
4 80
ResultTable:
ID value
1 10
2 60 ( = 20 + 40)
3 90 ( = 30 + 60)
4 80
Comment