UPDATE c2_cmd_download t1
INNER JOIN c2_c2movie t2 on t2.`Code`=t1.TableObjectID
LEFT JOIN t_program t3 on t2.CpContentId=t3.CPContentID
SET t1.name = t3.name
mysql 多表关联修改
最新推荐文章于 2024-10-15 07:49:43 发布
UPDATE c2_cmd_download t1
INNER JOIN c2_c2movie t2 on t2.`Code`=t1.TableObjectID
LEFT JOIN t_program t3 on t2.CpContentId=t3.CPContentID
SET t1.name = t3.name