正确写法: update 别名 set 别名点字段 =xxxx
UPDATE
a
SET
a.StandardID =
(SELECT
b.StandardID
FROM
SurgeryMappingRecycle b,
SurgeryMappingHistory c
WHERE a.ID = b.ID)
FROM
SurgeryMappingHistory a
错误写法:
update table1 a set a.ID=''
正确写法: update 别名 set 别名点字段 =xxxx
UPDATE
a
SET
a.StandardID =
(SELECT
b.StandardID
FROM
SurgeryMappingRecycle b,
SurgeryMappingHistory c
WHERE a.ID = b.ID)
FROM
SurgeryMappingHistory a
错误写法:
update table1 a set a.ID=''