MS Access SQL Syntax Error
I'm trying to update a microsoft access database table field from a similar field in a linked table.
Here are my table names:
Raw data
sectionroster
And here's my query so far:
UPDATE [raw data].[current supervisor]
FROM [raw data]
INNER JOIN [sec开发者_如何学编程tionroster] ON [raw data].[associate id]=[sectionroster].[employee number]
SET [raw data].[Current Supervisor] = [sectionroster].[supervisor];
It's giving me a syntax error referencing the from clause, and I can't figure out why. Any help would be appreciated!
Try this
UPDATE [raw data].[current supervisor]
SET [raw data].[Current Supervisor] = [sectionroster].[supervisor]
FROM [raw data]
INNER JOIN [sectionroster] ON [raw data].[associate id]=[sectionroster].[employee number]
精彩评论