the actual structure of MySQL force you to use auto-increment tables when adding numbered elements... you can't put back the auto-incremented number as you require, when deleting the last element of a table... or you have to delete the table and insert the content back. i don't think it worth the job...