This is what I tried but it fails:
alter table goods add column `id` int(10) unsigned primary AUTO_INCREMENT;
Does anyone have a tip?
ALTER TABLE GOODS MODIFY ID INT(10) NOT NULL PRIMARY KEY;