在已经有数据的表中添加自增主键
运行下面两个sql语句即可
alter table result_1 add id int;
alter table result_1 change id id int not null auto_increment primary key;
运行下面两个sql语句即可
alter table result_1 add id int;
alter table result_1 change id id int not null auto_increment primary key;