One to Many Relation on Controls Relationship Type

For Complete YouTube Video: Click Here

In this class, we will understand One to Many Relation on Controls Relationship Type.

We have already discussed the concepts of Many to Many Relation.

One to Many Relation on Controls Relationship Type

Let’s consider the ER-Diagram as shown below.

Many to Many Relation on Works_On Relationship Type 4
One to Many Relation on Controls Relationship Type

In the above diagram, if we consider the controlling department of the project entity type, it relates to the department entity type.

Whenever an attribute of an entity type is referencing another attribute, there exists a relationship.

The image below is the ER-Diagram with controls relationship type.

One to Many Relation on Controls Relationship Type 1
One to Many Relation on Controls Relationship Type 1

Cardinality Ratio & Participation

Cardinality Ratio

The requirements state that “A Department controls several projects.”

The maximum participation of the department entity is N.

A project is controlled by only one department.

The maximum participation is 1.

The cardinality ratio of the ‘controls’ relationship is N:1.

The image below is ER-Diagram with cardinality ratios.

One to Many Relation on Controls Relationship Type 2
One to Many Relation on Controls Relationship Type 2

Participation

For this, we will consider the general logic that some departments will not control projects.

For example, the employee grievance department of a company will not control any project.

The minimum participation is zero, so it has partial participation.

Similarly, every project is under any of the department’s control.

So the projects have full participation in the controls relationship type.

The image below is the ER-Diagram with the controls relationship.

One to Many Relation on Controls Relationship Type 3
One to Many Relation 3