Consider the "Supply" relationship relating the entities "Supplier" and "Product". Under default assumption. what will be the cardinality of the "Supply" relationship?
Consider the "Supply" relationship relating the entities "Supplier" and "Product". Under default assumption. what will be the cardinality of the "Supply" relationship? Correct Answer M : N
The correct answer is option 3.
Concept:
The cardinality ratio is express the number of entities to which another entity can be associated via a relationship set.
- One-to-One Relationship
- One-to-Many or Many-to-One Relationship
- Many-to-Many Relationship
Many-to-Many Relationship:
A many-to-Many relationship in DBMS is a relationship between more than one instance of an entity with more than one instance of another entity i.e. both the entities can have many relationships between each other.
Example:
Hence the correct answer is M : N.
Additional Information One-to-One Relationship:
Such a relationship exists when each record of one table is related to only one record of the other table.
Example:
[ alt="F2 Harshita 14-01-22 Savita D1" src="//storage.googleapis.com/tb-img/production/22/01/F2__Harshita_14-01-22_Savita_D1.png" style="width: 326px; height: 66px;">
One-to-Many or Many-to-One Relationship:
The relationship exists when each record of one table can be related to one or more than one record of the other table. This relationship is the most common relationship found. A one-to-many relationship can also be said as a many-to-one relationship depending upon the way we view it.
[ alt="F2 Harshita 14-01-22 Savita D2" src="//storage.googleapis.com/tb-img/production/22/01/F2__Harshita_14-01-22_Savita_D2.png" style="width: 326px; height: 66px;">
[ alt="F2 Harshita 14-01-22 Savita D3" src="//storage.googleapis.com/tb-img/production/22/01/F2__Harshita_14-01-22_Savita_D3.png" style="width: 326px; height: 66px;">