CS FundamentalsHardProduct-company MCQ pattern

An ER design has entity sets E1 and E2 joined by a one-to-one relationship R. Both E1 and E2 participate TOTALLY in R, and neither has a multivalued attribute. What is the minimum number of relational tables needed?

  1. A. 2
  2. B. 3
  3. C. 4
  4. D. 1

Correct answer: D. 1

With 1:1 and total participation on both sides, every E1 entity pairs with exactly one E2 entity and vice versa, so E1, R and E2 can be merged into one table. With partial participation on one side, 2 tables are needed to avoid NULLs.

More DBMS and SQL questions

Exams that ask this topic