mysql manual increment ids?
问题 I have a table with items in it (id, name, etc) and I want some kind of database scheme to be able to have multiple copies of the item while still being able to increment the ids. There will be a field called startdate or date_from_which_this_entry_should_be_used. I've thought of two ways of implementing this: Have a table with only ids (primary key, auto-increment) and do joins to a table that has all the item information. Advantages: easy to understand hard for someone that comes after me