Multiple choice technology packaged enterprise solutions

Which type of relationship requires an intersection table?

  1. Many-to-One (M:1)

  2. One-to-One (1:1)

  3. Many-to-Many (M:M)

  4. One-to-Many (1:M)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Many-to-Many (M:M) relationships require an intersection table (also called a bridge or junction table) to implement the relationship. In a M:M relationship, multiple records in Table A relate to multiple records in Table B - this cannot be represented with simple foreign keys. The intersection table stores the associations, containing foreign key references to both parent tables. M:1 uses a single FK in the child table, 1:1 can use FK in either table, and 1:M uses FK in the many side - none require intersection tables.

AI explanation

A many-to-many relationship can't be represented directly with a simple foreign key, because each row on either side can relate to many rows on the other side. Relational databases resolve this by introducing an intersection (junction) table that holds pairs of foreign keys, effectively breaking the M:M relationship into two one-to-many relationships. One-to-one and one-to-many/many-to-one relationships can be modeled with a foreign key alone, so they don't need this extra table.