sql 跨表修改的方式

update mon_job_log a set person_id = (select id from mon_job_manage b where a.task_id = b.id)
原文地址:https://www.cnblogs.com/shuilangyizu/p/7808311.html