热线电话:13121318867

登录
2019-06-06 阅读量: 654
为已有的表添加自增列

CREATE TABLE bookcategory(

category_id int primary key,

category varchar(20) not null unique,

parent_ id int not null

)

alter table bookcategory modify category id int auto increment;

0.0000
1
关注作者
收藏
评论(0)

发表评论

暂无数据