Difficulty: Easy
Correct Answer: ALTERNATE KEY
Explanation:
Introduction / Context:
Constraints enforce rules about data validity. Knowing official constraint types helps you model and implement integrity correctly.
Given Data / Assumptions:
Concept / Approach:
In logical modeling, “alternate key” means any candidate key that is not chosen as the primary key. However, standard SQL does not have an “ALTERNATE KEY” constraint keyword. You implement alternate keys by declaring UNIQUE constraints.
Step-by-Step Solution:
Verification / Alternative check:
RDBMS documentation shows CREATE TABLE ... UNIQUE (...) for alternate keys rather than an ALTERNATE KEY clause.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing conceptual terms (alternate key) with DDL keywords; implement alternate keys with UNIQUE constraints.
Final Answer:
ALTERNATE KEY
Discussion & Comments