Computer Science EngineeringHard

A many-to-many relationship in an ER diagram is converted into a table whose primary key is typically

  1. A. the primary key of either entity alone
  2. B. a new surrogate only
  3. C. the composite of both entities' primary keys
  4. D. the non-key attributes

Correct answer: C. the composite of both entities' primary keys

Each pair of related entities must be identified uniquely, so the key combines both participating keys.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic