mysql自动增长字段的设置


1 修改某一列为自动增长

mysql> alter table Statistic add  Id int(11) primary key  auto_increment;

Query OK, 0 rows affected (1.91 sec)

Records: 0  Duplicates: 0  Warnings: 0


mysql自动增长字段的设置_第1张图片



你可能感兴趣的:(mysql,table,Warnings,Duplicates)