Difficulty: Easy
Correct Answer: Many-to-Many Relationship
Explanation:
Introduction / Context:
Many-to-many (M:N) relationships are common in domains such as course enrollments or product orders. Recognizing them is key because their relational implementation requires an associative (junction) table.
Given Data / Assumptions:
Concept / Approach:
An M:N relationship connects multiple instances on both sides. In relational databases, you implement it by introducing a third table whose foreign keys point to each parent; together they can form the primary key or a unique constraint.
Step-by-Step Solution:
Verification / Alternative check:
Examples: Students and Courses; Tags and Articles; Doctors and Patients (in some contexts).
Why Other Options Are Wrong:
Common Pitfalls:
Attempting to represent M:N with foreign keys in just two tables; this design leads to duplication or nulls. Use a junction table instead.
Final Answer:
Many-to-Many Relationship
Discussion & Comments