Hello, I am trying to create a view that sums data from two tables in this fashion:
Table 1:
A 3
B 5
C 1
Table 2:
A 1
C 1
D 3
To produce:
A 4
B 5
C 1
D 3
What is the best way to do this? I have tried using unions, outer joins, but I can't seem to get it to work--I keep running into problems with nulls. Thanks in advance for any help.
Table 1:
A 3
B 5
C 1
Table 2:
A 1
C 1
D 3
To produce:
A 4
B 5
C 1
D 3
What is the best way to do this? I have tried using unions, outer joins, but I can't seem to get it to work--I keep running into problems with nulls. Thanks in advance for any help.