Exam-style question
Try this first
Explain how primary keys and foreign keys can be used to relate two tables in a relational database. Include the purpose of each key.
Answer and explanation
Concise answer
A primary key uniquely identifies each record in its own table.
Why this is correct
The answer must distinguish the two roles. The primary key identifies records in its own table, while the foreign key creates the relationship by referring to that primary key in another table.
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.
