📅  最后修改于: 2022-03-11 15:05:10.357000             🧑  作者: Mango
set @autoid :=0;
update Table_Name set AutoIncremented_Column = @autoid := (@autoid+1);
alter table Table_Name Auto_Increment = 1;
@Zenonymous