D
Doug Fete
Hi,
I am looking to combine two tables. Both tables have one column with the
same name but all the other columns are different. The column with the same
name, "Tags", may have the same row value in both tables, but there are
different values also. I am looking to add both tables - if the value for
"Tags" is the same, I would like to combine the two table records. If there
is a unique value in either database, I would like to add that record.
Short ex:
First table
TAGS Column 1 Column 2
AAAA 5 10
BBBB 1 3
DDDD 4 8
EEEE 9 25
Second Table
TAGS Column A Column B
AAAA 17 25
BBBB 11 22
CCCC 5 1
The combined table would look like this:
TAGS Column 1 Column 2 Column A Column B
AAAA 5 10 17 25
BBBB 1 3 11 22
CCCC 0 0 5 1
DDDD 4 8 0 0
EEEE 9 25 0 0
Thanks for any help,
Doug
I am looking to combine two tables. Both tables have one column with the
same name but all the other columns are different. The column with the same
name, "Tags", may have the same row value in both tables, but there are
different values also. I am looking to add both tables - if the value for
"Tags" is the same, I would like to combine the two table records. If there
is a unique value in either database, I would like to add that record.
Short ex:
First table
TAGS Column 1 Column 2
AAAA 5 10
BBBB 1 3
DDDD 4 8
EEEE 9 25
Second Table
TAGS Column A Column B
AAAA 17 25
BBBB 11 22
CCCC 5 1
The combined table would look like this:
TAGS Column 1 Column 2 Column A Column B
AAAA 5 10 17 25
BBBB 1 3 11 22
CCCC 0 0 5 1
DDDD 4 8 0 0
EEEE 9 25 0 0
Thanks for any help,
Doug