An ER model of a database consists of entity types A and B. These are…

2021

An ER model of a database consists of entity types A and B. These are connected by a relationship R which does not have its own attribute. Under which one of the following conditions can the relational table for R be merged with that of A?

  1. A.

    Relationship R is one-to-many and the participation of A in R is total

  2. B.

    Relationship R is one-to-many and the participation of A in R is partial

  3. C.

    Relationship R is many-to-one and the participation of A in R is total

  4. D.

    Relationship R is many-to-one and the participation of A in R is partial

  5. E.

    Question not attempted

Attempted by 432 students.

Show answer & explanation

Correct answer: C

To merge relationship R with entity table A, table A must be able to store the foreign key of the related B entity.

If R is many-to-one from A to B, then many A records can be associated with one B record. So the primary key of B can be stored as a foreign key in table A, and a separate table for R is not needed because R has no attributes of its own.

Total participation of A is required because every A entity must participate in R. Therefore the foreign key in A will always have a value.

Option D is not correct because it says the participation of A is partial. In partial participation, some A entities may not participate in R, so the foreign key in A may be NULL. Hence this is not the best condition for safely merging R with A.

Therefore, the correct answer is Option C: Relationship R is many-to-one and the participation of A in R is total.

Explore the full course: Up Lt Grade Assistant Teacher 2025