在一个数据库表 添加一个字段然后将这个字段设置成主键自增的sql语句

alter table stu add column yid int auto_increment not null,add primary key(yid);

猜你喜欢

转载自blog.csdn.net/qq_37674858/article/details/80182187