[CONSTRAINT 外键名称 ]FOREIGN KEY(字段名称) REFERENCES 主表(字段名称)
翻译 constraint :约束
例如: constraint student_id foreign key (student_id) references student (id),
https://blog.youkuaiyun.com/championhengyi/article/details/78559789
mysql主键,外键,索引
最新推荐文章于 2024-07-16 04:48:34 发布