UPDATE XXXXXX S SET (S.XXX, S.CCC, S.DDD, S.AAA, S.BBB) = (SELECT F.XXX, F.CCC, F.AAA, BBB FROM XXXXXX F LEFT JOIN XXXXX O ON F.AAA = O.BBB WHERE S.AAA = F.B AND S.QQQ = F.WWW) WHERE S.ZZZ = VVV;
时间: 2024-10-12 15:52:11
UPDATE XXXXXX S SET (S.XXX, S.CCC, S.DDD, S.AAA, S.BBB) = (SELECT F.XXX, F.CCC, F.AAA, BBB FROM XXXXXX F LEFT JOIN XXXXX O ON F.AAA = O.BBB WHERE S.AAA = F.B AND S.QQQ = F.WWW) WHERE S.ZZZ = VVV;