ER Model · Database Management and Warehousing
1 questions · asked in 1 of 3 years (2024–2026)
NAT 12-mark 1
2024Questions per year2026
Questions 1–1 of 1
Consider an model with the entities ( ) and ( ), where, are the attributes of , and are the attributes of . Let be a multi-valued attribute. and are the primary keys of and , respectively.
Let be a many-to-many relationship between and . Participation of both and in is total.
The minimum number of relations required to convert the model into relational model (assuming there is no other functional dependency) where each relation is in third normal form () is ________. (Answer in integer )
Let be a many-to-many relationship between and . Participation of both and in is total.
The minimum number of relations required to convert the model into relational model (assuming there is no other functional dependency) where each relation is in third normal form () is ________. (Answer in integer )
Answer: 4
Turn each part of the ER model into relations:
- E1 : it gives one relation, with as the key. Count: relation.
- E2: is multi-valued. So it cannot stay in the main E2 relation, as that would break 1NF. It needs a separate relation that stores pairs. So E2 is split into the main relation and a separate relation for the multi-valued attribute. Count: relations.
- R12 (many-to-many relationship): whatever the participation constraints are, a many-to-many relationship always needs its own relation. It can never be merged into the table of either entity, because each side can match many partners. Count: relation.
Total minimum relations
Answer: 4
- E1 : it gives one relation, with as the key. Count: relation.
- E2: is multi-valued. So it cannot stay in the main E2 relation, as that would break 1NF. It needs a separate relation that stores pairs. So E2 is split into the main relation and a separate relation for the multi-valued attribute. Count: relations.
- R12 (many-to-many relationship): whatever the participation constraints are, a many-to-many relationship always needs its own relation. It can never be merged into the table of either entity, because each side can match many partners. Count: relation.
Total minimum relations
Answer: 4
Keep practising