Weak Entity Types || Lesson 21 || DBMS || Learning Monkey ||

Veröffentlicht am: 13 Oktober 2021
auf dem Kanal: Learning Monkey
5,924
91

Weak Entity Types

In this class, we will understand Weak Entity Types.

We have already discussed the concept of identifying relationship types.

So far, we have considered employee, department, and project entity types.

Here we will consider the dependents entity type, as shown below.


the employee attribute of the dependents entity type is referencing an employee.

If an attribute of an entity type is referencing another attribute’s attributes, then there is a relationship.

The relationship is dependents_of.

We now convert the employee attribute to a relationship.

Cardinality Ratio and Participation
Cardinality Ratio

The dependents have maximum participation of one because each dependent is related only to one employee.

The employees have maximum participation of N because an employee may have more than one dependent.
Participation

The participation of the employee is partial because an employee may not have dependents.

The participation of the dependents is ‘full’ because a dependent has an employee associated with them.

Without an employee, there is no ‘dependent.’

The ER-Diagram with the dependents

Weak Entity Types

Entity types that do not have ‘key attributes are weak.

If we consider the dependents entity type in the above ER-Diagram, none of the attributes is ‘key attributes.’

So, dependents are a weak entity type.

The relationships that get connected to the weak entity types are identifying types.
ER-Diagram Representation

The weak entities and the identifying relationships are represented in double rectangles and diamonds


#learningmonkey #dbms #placements #gatecse #gatedbms #campusplacements



Link for playlists:
   / @learningmonkey  


Link for our website: https://learningmonkey.in

Follow us on Facebook @   / learningmonkey  

Follow us on Instagram @   / learningmonkey1  

Follow us on Twitter @   / _learningmonkey  

Mail us @ [email protected]


Auf dieser Seite können Sie das Online-Video Weak Entity Types || Lesson 21 || DBMS || Learning Monkey || mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Learning Monkey 13 Oktober 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,924 Mal angesehen und es wurde von 91 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!