mysql给已存在表添加主键ID字段

1.

alter table anve_order add id int

2. 

alter table `anve_order` change id id int not null auto_increment primary key; 

版权声明:本文为guokekanhai原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。