👋 欢迎浏览我的技术博客,记录学习笔记 本人28届软工一枚
具有外键的表为子表 add table 表名 add constraint 外键名称 foreign key (外键字段名) references主表(主表列名)