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

Publicado em: 13 Outubro 2021
no canal de: 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]


Nesta página do site você pode assistir ao vídeo on-line Weak Entity Types || Lesson 21 || DBMS || Learning Monkey || duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Learning Monkey 13 Outubro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5,924 vezes e gostou 91 espectadores. Boa visualização!