删除一条记录
update data set id=id-1 where id>currentCount;
data是表名,currentCount是你删的记录ID
增加一条记录
update data set id=id+1 where id>currentCount;
删除一条记录
update data set id=id-1 where id>currentCount;
data是表名,currentCount是你删的记录ID
增加一条记录
update data set id=id+1 where id>currentCount;