create table table_name( id int not null auto_increment primary key ) mysql规定auto_increment的列必须是主键。
CREATE TABLE `testtb` ( `id` int auto_increment NOT NULL, ...... )
56,678
社区成员
56,708
社区内容
加载中
试试用AI创作助手写篇文章吧