Basics of IT and Governance
An order table must show which customer placed each order without repeating customer details in every row. What links the two tables?
Show the answer
Correct answerC. A foreign key to the customer's primary key
AWhy not this: Copying details into every row duplicates data, which is what relational design avoids.
BWhy not this: An index speeds up searches on a column but does not relate records in one table to another.
CWhy this is right: A foreign key points to the customer's primary key, so each order references one stored customer record.
DWhy not this: A saved query retrieves and presents data but does not define how tables are related.
In a relational database, a foreign key in the order table matches the primary key of the customer table, so details are stored once and referenced. An index only speeds lookups and does not create a relationship between tables.