When i delete one record from mysql table and insert new one on that place that time it is setting the auto increment column value to next i had inserted lastly which is not expected
I googled it on many sites but not getting exact result that i want I also tried by setting last_inserted_id()+1 as follows:
Alter table t1 auto_increment = last_insert_id() + 1;
But it is showing error
I want to set that value next to previous record's auto increment value,
Please Help, Thanks.