Easy1 markShort Answer

AQA GCSE · Question 18.4 · Relational databases and structured query language (SQL)

State the name of the field from the Award table that is a foreign key.

How to approach this question

A foreign key is a field in one table that is the primary key in another table. It is used to link the two tables together. Look at the fields in the `Award` table and see which one corresponds to the primary key of the `Member` table.

Full Answer

MemberID
A **foreign key** is a field (or collection of fields) in one table that uniquely identifies a row of another table. In essence, a foreign key is a primary key from another table that has been included to create a link between them. - The primary key of the `Member` table is `MemberID`. - The `Award` table also contains a field called `MemberID`. - This `MemberID` field in the `Award` table is used to link each award to the specific member who received it. Therefore, `MemberID` in the `Award` table is the foreign key.

Common mistakes

✗ Choosing the primary key of the `Award` table (`AwardID`). ✗ Choosing a field that is not a key, like `AwardName`. ✗ Naming a field from the wrong table.

Practice the full AQA GCSE Computer Science Paper 2

46 questions · hints · full answers · grading

More questions from this exam