Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:
Many-to-many relationships are implemented using an intersection (associative) table that links two parent tables. This item tests whether you recognize that the intersection table's identity is tied to both parents.
Given Data / Assumptions:
Concept / Approach:
In an identifying relationship, a child's identity is defined by its parent(s). For an intersection table, the row cannot exist without valid references to both parents; its logical identity is the combination of those references. Thus, it is ID-dependent on both parents. Even if a surrogate key is used, a unique constraint on the two FKs maintains the identifying semantics.
Step-by-Step Solution:
Verification / Alternative check:
Attempt to insert an intersection row without a valid parent key — the insert fails due to FK constraints.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting the unique constraint on the pair when using a surrogate; failing to cascade or restrict deletes in a controlled way; allowing duplicates of the same association.
Final Answer:
Correct
Discussion & Comments