Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:Keys are central to relational design. This question checks the basic definition of a key in a relation and whether it uniquely identifies tuples.
Given Data / Assumptions:
Concept / Approach:A key is any minimal superkey: it uniquely identifies rows and no proper subset does. The statement focuses on uniqueness, which is correct. Whether a key is selected as the primary key is a naming and implementation choice; it does not affect the definition.
Step-by-Step Solution:
Recall: superkey = attributes whose combined values are unique across tuples.Key (candidate key) = minimal superkey.Therefore, a key does uniquely identify a row.Verification / Alternative check:In SQL, declare UNIQUE constraints (or PRIMARY KEY) to enforce uniqueness, reflecting the theoretical concept.
Why Other Options Are Wrong:
Common Pitfalls:Confusing “primary key” (one chosen key) with the general concept of “key” (candidate keys).
Final Answer:Correct
Discussion & Comments