mysql添加主键并且自增长

alter table table_name add id(主键名称) int(11) unsigned not null auto_increment ,add primary key (id)

猜你喜欢

转载自yangzaisan.iteye.com/blog/1119511
今日推荐