myslq将一个表的数据更新到另一表中

 update blade_employee_training_record_detail a,blade_employee_training_user_dept b set a.dept_name=b.user_dept  where a.user_name=b.user_name

  

posted @ 2021-06-03 20:31  红尘沙漏  阅读(75)  评论(0编辑  收藏  举报