alter table customers change id id int not null auto_increment primary key;
如果 有主键就不需要primary key;
mysql修改已存在的表增加ID属性为auto_increment自动增长的方法
最新推荐文章于 2023-01-11 06:15:00 发布
alter table customers change id id int not null auto_increment primary key;
如果 有主键就不需要primary key;