I am creating a query that uses a secondary table to update the main table, the catch is that only two columns are alike and then there will be a third after the main table is updated. What i would like to do is have the query look at the two columns that are alike, and then match the information from the third. If that doesn't make much sense then look at the diagram below
MAIN TABLE:
_____________________________________________________
|To be updated|Matching column #1|Matching column #2|
|'new info.' | 123456 | 654321 |
SECONDARY TABLE:
_____________________________________________________
UPDATE Info. |Matching column #1|Matching column #2|
|'new info.' | 123456 | 654321 |
This is a rough sketch of what is supposed to happen. Of course in each table there are more columns but i kept it as simple as possible. Any ideas on how i should do this query
Thomas Gunter,A+, Network+
Network Administrator
MAIN TABLE:
_____________________________________________________
|To be updated|Matching column #1|Matching column #2|
|'new info.' | 123456 | 654321 |
SECONDARY TABLE:
_____________________________________________________
UPDATE Info. |Matching column #1|Matching column #2|
|'new info.' | 123456 | 654321 |
This is a rough sketch of what is supposed to happen. Of course in each table there are more columns but i kept it as simple as possible. Any ideas on how i should do this query
Thomas Gunter,A+, Network+
Network Administrator