mysql删除id大于N的数据并id从N开始
1、删除destoon_categgory表内catid字段大于等于5237ID的数据
delete from destoon_category where catid>=5237
2、执行destoon_category表自增id从5237开始
ALTER TABLE destoon_category AUTO_INCREMENT=5237
mysql删除id大于N的数据并id从N开始
1、删除destoon_categgory表内catid字段大于等于5237ID的数据
delete from destoon_category where catid>=5237
2、执行destoon_category表自增id从5237开始
ALTER TABLE destoon_category AUTO_INCREMENT=5237