mysql delete row data in the specified range in the data table

delete from cmf_guangnian_2 where exists (select * from (select g_id from cmf_guangnian_2 limit 10001,19292) as a where a.g_id=cmf_guangnian_2.g_id);

Guess you like

Origin blog.csdn.net/weixin_41822224/article/details/109449152