A ____________ is an attribute whose value is derived from the ____________ of another relation.
A ____________ is an attribute whose value is derived from the ____________ of another relation.
Solution
A foreign key is an attribute in one relation whose values are taken from the primary key of another relation. It links the two tables, and every value in it must either match an existing primary key value in the referenced relation or be null. This rule is called referential integrity.
Option 1: reverses the roles. A primary key uniquely identifies rows in its own relation and does not depend on another relation.
Option 3: a candidate key is any attribute that could uniquely identify a row in its own relation. It is not derived from another relation.
Option 4: an alternate key is a candidate key not chosen as the primary key, so it also belongs to its own relation.
Related questions:
2025: 20 May Shift 1
2025: 20 May Shift 1
2026: 18 May Shift 2
2025: 21 May Shift 1