我正在尝试从链接表中的类似字段更新微软访问数据库表字段。
以下是我的表名:
Raw data
sectionroster
到目前为止,这是我的查询:
UPDATE [raw data].[current supervisor]
FROM [raw data]
INNER JOIN [sectionroster] ON [raw data].[associate id]=[sectionroster].[employee number]
SET [raw data].[Current Supervisor] = [sectionroster].[supervisor];
它给我一个引用from子句的语法错误,我无法弄清楚原因。任何帮助将不胜感激!
答案 0 :(得分:0)
试试这个
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]