您的位置:首页 > 博客中心 > 数据库 >

数据库字段关联更新

时间:2022-03-13 22:49

MS SQL Server 子查询更新:

update log set uin= b.uin from log a,logs b where a.accountuin = b.accountuin

mysql 更新:

update t_stat_month_user a INNER JOIN t_dept b on a.op_dept=b.op_id set a.dept_short_name=b.dept_short_name;

数据库字段关联更新,布布扣,bubuko.com

热门排行

今日推荐

热门手游