table 多表关联 update

 

1. update…from…inner join…

update 表1
set 表1.字段a=表2.字段x
from 表1 inner join 表2 on 表1.字段2=表2.字段y

posted @ 2023-10-08 12:36  不会游泳的鱼~~  阅读(13)  评论(0编辑  收藏  举报