update a
set a.xxx = (select b.xxx from b where a.ib = b.id)
-- 等价于
UPDATE cfbiz_inspect_guarantee u
JOIN lfcp_user uf ON u.CREATED_BY = uf.USERNAME
SET u.MOBILE = uf.MOBILE;
05-20
2446
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-10
1667
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-12
3130
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交