Reset ID Auto Increment Setelah Menghapus Baris Tabel di PHPMyAdmin

SET @autoid :=0; 
UPDATE table_name SET id = @autoid:=(@autoid+1);
ALTER TABLE table_name AUTO_INCREMENT=1;
Unsightly Unicorn