sql修改表結構之添加主鍵約束、添加索引、添加外鍵關聯

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 f
相關文章
相關標籤/搜索