I used
CREATE table FROM SELECT * FROM anothertabler
to duplicate and rename a bunch of different tables, and for whatever reason it carried everything but the primary key's and auto_increment attributes of each tables 'id' field..
I tried
ALTER TABLE table CHANGE id id NOT NULL PRIMARY KEY AUTO_INCREMENT
but I got an syntax error...
Can anyone shed some light on why CREATE FROM doesn't exactly duplicate and what syntax I need to fix it?