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
Answer and explanation
Concise answer
To provide a link to a primary key in another table
Why this is correct
A foreign key is an attribute used to refer to a primary key in another table, creating a relationship between the tables.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
