📅  最后修改于: 2022-03-11 15:05:18.304000             🧑  作者: Mango
/*Creating Foreign Key Constraint*/
ALTER TABLE ForeignKeyTable ADD CONSTRAINT ForeignKeyTable_foreignKeyColumn_FK
FOREIGN KEY (foreignKeyColumn) REFERENCES PrimaryKeyTable (PrimaryKeyColumn)