UPDATE activity_base_info b
INNER JOIN activity_question q on b.question_group_id=q.group_id set q.activity_id=b.id;
本文参考链接:https://www.cnblogs.com/maohuidong/p/13445122.html
UPDATE activity_base_info b
INNER JOIN activity_question q on b.question_group_id=q.group_id set q.activity_id=b.id;