Difficulty: Easy
Correct Answer: 3
Explanation:
Introduction / Context:
Relationship degree refers to the number of distinct entity types that participate in a single relationship. Binary involves two, ternary involves three, and higher-degree relationships involve more than three. Recognizing the degree helps determine how to implement the relationship in a relational schema.
Given Data / Assumptions:
Concept / Approach:
A ternary relationship is not the same as three separate binary relationships; it captures a constraint that inherently involves three participants at once. In many cases, decomposing a ternary relation into binaries can lose semantics unless additional constraints are enforced.
Step-by-Step Solution:
Verification / Alternative check:
Model an example such as Supplier–Part–Project allocation; one relationship instance involves exactly these three types together.
Why Other Options Are Wrong:
Common Pitfalls:
Rewriting a ternary into multiple binaries without constraints, which can permit invalid combinations not intended by the original model.
Final Answer:
3
Discussion & Comments