方式一:固定的更新前多少条数据
UPDATE edu_major SET enroll_subject='1' ORDER BY id asc limit 10;
方式二:可控的更新页数数据
update edu_major set enroll_subject = '3' where id in (select
方式一:固定的更新前多少条数据
UPDATE edu_major SET enroll_subject='1' ORDER BY id asc limit 10;
方式二:可控的更新页数数据
update edu_major set enroll_subject = '3' where id in (select