Ok, lets see if I can describe this enough to get my problem across.
I have two tables, each with equivalent, but different, data. What these tables are is the material requirements from our company for two different customers. The first field in the table will be the same in both tables, since this is the material ID number. For clarification, let me illustrate what I mean.
TABLE ONE:
TABLE TWO:
After adding the two tables, I want the results to be something like this:
RESULT TABLE:
Thus far this doesn't seem that confusing, but it gets worse. Each material can produce many different parts, and the requirements sent in from our customers are in parts instead of amount of material, therefore, there can be more than one row in each table with the same material code, which makes things much more complicated.
Anyone have any idea how I can approach this problem? At the moment, I am at a total loss, so any sort of advice or suggestions of any sort will be grealy appreciated.
Thanks.
Brooks Tilson
Database Development
Tilson Machine, Inc.
I have two tables, each with equivalent, but different, data. What these tables are is the material requirements from our company for two different customers. The first field in the table will be the same in both tables, since this is the material ID number. For clarification, let me illustrate what I mean.
TABLE ONE:
Code:
MatCode Week1Req Week2Req
--------------------------------
456-182 117 189
452-192 132 173
TABLE TWO:
Code:
MatCode Week1Req Week2Req
-------------------------------
456-182 68 14
452-192 90 88
After adding the two tables, I want the results to be something like this:
RESULT TABLE:
Code:
MatCode Wk1Req Wk2Req
----------------------------
456-182 185 203
452-192 222 261
Thus far this doesn't seem that confusing, but it gets worse. Each material can produce many different parts, and the requirements sent in from our customers are in parts instead of amount of material, therefore, there can be more than one row in each table with the same material code, which makes things much more complicated.
Anyone have any idea how I can approach this problem? At the moment, I am at a total loss, so any sort of advice or suggestions of any sort will be grealy appreciated.
Thanks.
Brooks Tilson
Database Development
Tilson Machine, Inc.