Difficulty: Easy
Correct Answer: Incorrect
Explanation:
Introduction / Context:
Key terminology matters in database design. “Candidate key” refers to any minimal set of attributes that can uniquely identify a row. Among the candidate keys, one is selected as the primary key. The remaining candidate keys are called “alternate keys.”
Given Data / Assumptions:
Concept / Approach:
Alternate keys are a subset of candidate keys: specifically, those not selected as the primary key. Thus, “candidate key” and “alternate key” are not identical terms. The statement that they “mean the same thing” is therefore incorrect, although alternate keys are still candidate keys by nature.
Step-by-Step Solution:
Verification / Alternative check:
Define a table with both email and username unique for users. Either could be PK (candidate keys). If username is chosen as PK, email is an alternate key (still unique).
Why Other Options Are Wrong:
Common Pitfalls:
Assuming there is only one candidate key; forgetting to enforce uniqueness on alternates; confusing superkeys with candidate keys (minimality requirement).
Final Answer:
Incorrect
Discussion & Comments