我有一个拉回 50 行的查询(这是正确的):
select * from [Review Results], [Specialist Name Table]
where [Authorizer Manager Name] = 5
and [Specialist Name Table].[Penson Analyst] = TRUE
and [Review Results].[Authorizer Name] = [Specialist Name Table].[ID]
我正在尝试从上述内容中进行更新查询,但我似乎无法做到这一点。这是我正在使用的查询,但是它想要更新 461 行而不是 50 行:
update
[Review Results] e
INNER JOIN [Specialist Name Table] s ON e.[Authorizer Name] = s.[ID]
set e.[Authorizer Manager Name] = 5
where s.[Penson Analyst] = TRUE
任何人都可以帮忙吗?