I have one MYSQL table.
In that table there is one column name SRNO is its primary key and auto increment also.
I have around 25000 records in that table but some records between the table is deleted.
For example record no 10 is deleted etc.
I want a SQL script to run mysql to regenerate all auto increment field so that it start from 1 again and end at last record to avoid that missing records.
Thanks