I have an empty "new_table" and "old_1" + "old_2" tables. When I insert 3000 rows from old_1 to new_table everything is fine.
But when I insert data from old_2 table, auto_increment id's starts from ~4000, not from 3000.. Any ideas why this is happening? I would like to have the new rows starting from 3001.
INSERT INTO new_table ( col1,col2,col3 ) SELECT col1,col2,col3 FROM old_1;
INSERT INTO new_table ( col1,col2,col3 ) SELECT col1,col2,col3 FROM old_2;
EDIT: I havent deleted any rows or messed with auto_increment values at all. I just ran 2 queries in a row