Updating a column in 1 table with value from another column in another table ...

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Unanswered: Updating a column in 1 table with value from another column in another table ...

Hi all.

This is looking like a brain fart day ... For whatever reason, I'm unable to costruct a 1 shot query to update a column in 1 table with a corresponding value from another table matching on a common ID in a 3rd column ... Ex:

DepartmentID. Have this column in Table X. Have also UserID for each record.

Have Table Y with UserID AND DepartmentID. Need to put the corresponding DepartmentID of Table Y into each record of Table X (departmentID) where the UserIDs match ...