I've got two tables with identical column names. I need to create a final doc that shows a list for the 1st column and totals the 2nd column. Some names in column 1 will be duplicated, but I only need them listed once and then totaled in the 2nd column. Here's an example of what I have and what I'm trying to get to.
Table1:
Vendors Customer Reports
Vendor1 18
Table2:
Vendors Customer Reports
Vendor1 8
Vendor2 10
Vendor3 25
Need to come up with this:
Vendors Customer Reports
Vendor1 26
Vendor2 10
Vendor3 25
I was able to created the SQL Statement to build the list of Vendors, however that's where my SQL experience stops and I can't seem to workout how to gather the totals for Custumer Reports.
Any help would be greatly appreciated.
Table1:
Vendors Customer Reports
Vendor1 18
Table2:
Vendors Customer Reports
Vendor1 8
Vendor2 10
Vendor3 25
Need to come up with this:
Vendors Customer Reports
Vendor1 26
Vendor2 10
Vendor3 25
I was able to created the SQL Statement to build the list of Vendors, however that's where my SQL experience stops and I can't seem to workout how to gather the totals for Custumer Reports.
Any help would be greatly appreciated.