Skip to content

Latest commit

 

History

History
12 lines (6 loc) · 308 Bytes

mysql.md

File metadata and controls

12 lines (6 loc) · 308 Bytes

mysql

image-20201105095348994

添加外键约束

ALTER TABLE `student` ADD CONSTRAINT `FK_geadeid` FOREIGN KEY(`gradeid`) REFERENCES `grade`(`gradeid`);