I have a table in my MySQL database where the id's of the entries starts from 3000 because the previous rows were deleted. What I would like achieve is to change the value of the id columns. I would need the rows to start from 1. If I have 1900 entries, I would need the id's from 1 to 1900. The id column in my database is set to AUTO_INCREMENT and the id is primary key.
My question is that is it possible to achieve this with an SQL command? Or I should rather create a new database and transfer the objects with new id's?