MySQL數據庫外鍵使用

--5.1 向goods表裏插入任意一條數據 insert into goods (name,cate_id,brand_id,price) values('聯想固態硬盤',10,10,1200); --5.2 添加外鍵約束 foreign key -- alter table goods add foreign key
相關文章
相關標籤/搜索