📜  mysql 一次更新两个表 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:12.938000             🧑  作者: Mango

代码示例2
update  tabe2 set subject_id = (SELECT GROUP_CONCAT(sub_id SEPARATOR ', ') as sub_id FROM tabe1)