What is a foreign key constraint?
What is a foreign key constraint?
Approach: Explain enforcement of referential integrity.
A constraint used to link two tables together. It is a field in one table that refers to the primary key in another table, ensuring data consistency.
Follow-up: What is an 'on delete cascade'?
Key concepts: referential integrity, relationships.