create table dede_diaocha1 ( Id int(20) not null AUTO_INCREMENT )ENGINE=MyISAM DEFAULT CHARSET=gbk
參考答案:错误提示:Incorrect table definition; there can be only one auto column and it must be defined as a key
这个提示是说啊,如果你把一个字段当作auto increment
比必须把这个字段作为索引(key)