我首先将它转换为使用连接而不是"经典连接":
select t1.status, t3.guid, t3.objectID from Table1 t1 inner join Table2 t2 on t2.ID = t1.ID inner join Table3 t3 on t3.ID = t2.ID where t3.Guid in ('', '', '')
然后你可以直接翻录select语句并对其进行更新和设置语句:
update t1 set status = 1 from Table1 t1 inner join Table2 t2 on t2.ID = t1.ID inner join Table3 t3 on t3.ID = t2.ID where t3.Guid in ('', '', '')