A key that is used to represent the relationship between two relations is known as ______________.
A key that is used to represent the relationship between two relations is known as ______________.
Solution
A foreign key is an attribute (or set of attributes) in one relation that refers to the primary key of another relation. It links the two tables and enforces referential integrity, so it is the key that represents the relationship between two relations.
Primary Key: uniquely identifies tuples within its own relation, and does not link to another relation.
Candidate Key: any minimal set of attributes that can uniquely identify a tuple. One of these is chosen as the primary key.
Composite Key: a key made of two or more attributes together. It describes how the key is built, not a link between relations.
Related questions:
2026: 11 May Shift 2
2026: 13 May Shift 2
