In: Computer Science
Database Design
Give one example of a cardinality ratio for a relationship of degree five.
Cardinality Ratio:
As we all know that the relationship in an ER model is nothing but the assosiation among the entities which belongs to one or more entity sets. Now cardinality ratio means that the maximum number of entities of one particular entitiy set which are associated with the maximum number of entities of other entity set. There are of 3 types in the degree of relationship.
i) One-to-one
ii) One-to-many
iii) Many-to-many
For the ratio of degree 5 we need to go for either One to many or Many to many. Now let us see. For example let us consider university entity, students, faculty, department, projects. Now let us map the relation.