Exam-style question
Try this first
What is the role of a foreign key?.
- A.To provide a link to a primary key in another table
- B.To replace every primary key in the database
- C.To make every attribute in a table unique by itself
- D.To combine all tables into one very large attribute
Model answer
What a good answer should say
- To provide a link to a primary key in another table
Explanation
Why this works
A foreign key is an attribute used to refer to a primary key in another table, creating a relationship between the tables.
Common mistake
No common mistake is linked to this question yet.
