ERROR 1075: Incorrect table definition; there can be only one auto column and it must be defined as a key
I try to "alter Table" I need one more AI field, not key... "List" ID INT(11):PK Not Null AutoIn.. Name VARCHAR UserID INT(11):FK Not Null edit BOOL and now i need one more field "sortpos" as AI. I try it with MySQL Workbench ALTER TABLE `**mydb**`.`List` ADD COLUMN `sortpos` INT(11) NOT NULL AUTO_INCREMENT AFTER `edit`; Can u help me? Thx You can't get better error message than this one. You already have ID defined as Auto Increment in your table. Now you are trying to add another field sortpos as auto increment which is not allowed. One table can only have one auto increment which must be