批量修改主表和从表的关联字段数据

来源:互联网 发布:北京大学大数据研究院 编辑:程序博客网 时间:2024/04/27 12:53

update xhs_Department  set Brand=(select id from xhs_listdetail b where PID=47 and xhs_Department.Brand=b.Value)

0 0
原创粉丝点击