11.5   外键约束

具有外键的表为子表
add table 表名 add constraint 外键名称 foreign key (外键字段名) references主表(主表列名)
image