- 链接地址:https://blog.csdn.net/qwe5810658/article/details/80606258
- 链接标题:sql修改表结构之添加主键约束、添加索引、添加外键关联-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4382
文章浏览阅读9.2k次,点赞3次,收藏8次。alter table footprint add constraint pk_footprint primary key (uid,pid) --添加主键约束alter table footprint add constraint FK_product_footprint foreign key(pid) references product(pid) --添加外键alter table...
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除