Advertisement
Beginner Data Modeling, Normalization & Keys

What is a foreign key?

Short answer

Column linking to another table's primary key.

Save Data Modeling mock interview
Advertisement
AModel answer
Column linking to another table's primary key.
Example

Order customer_id.

Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
  • What is normalization
  • What is primary key
  • What is foreign key
Related topics