1.10 Foreign Keys Flashcards
1
Q
foreign key
A
A foreign key is a column, or group of columns, that refer to a primary key.
2
Q
Referential integrity
A
Referential integrity requires foreign key values must either be NULL or match some value of the referenced primary key.
3
Q
FOREIGN KEY / REFERENCES
A
A foreign key constraint is added to a CREATE TABLE statement with the FOREIGN KEY and REFERENCES keywords.