Mysql设置自增字段的方法

#int : 字段类型

alter table 表名 modify 字段名 int auto_increment primary key

原文地址:https://www.cnblogs.com/MaxElephant/p/10206090.html