Consider the following diagram

The minimum number of tables needed to represent , , , , is
Which of the following is a correct attribute set for one of the tables for the minimum number of tables needed to represent , , , , ?
View worked solution
Answer: A
To represent the ER diagram with the minimum number of tables, we analyze the relationships and their cardinalities:
- The relationship between and is many-to-one from to . This means each entity in is associated with at most one entity in .
- Because is on the "many" side, we can merge the relationship into the table for to minimize the total number of tables.
- The merged table for and will contain all attributes of along with the primary key of as a foreign key.
Thus, the attributes for this merged table are:
This matches the attribute set given in Option A.
Free practice · Your answers on this page are not saved.
