IDのインデックスを削除
次のようなことをします:
SET @rank:=0;
update users
set example@sqldat.com:example@sqldat.com+1
order by id;
IDにインデックスを追加
IDのインデックスを削除
次のようなことをします:
SET @rank:=0;
update users
set example@sqldat.com:example@sqldat.com+1
order by id;
IDにインデックスを追加