Lecture 5
Lecture 5
Example:-
A weak entity does not have a primary key of its own and depends
on a strong entity.
It includes a foreign key (FK) referring to the strong entity.
Example:-
ER Model:
Example:
Conclusion
We will now explore how these constructs are mapped into relational
tables.
Example:-
A weak entity depends on a strong entity and does not have its
own primary key.
It includes a foreign key (FK) referencing the strong entity.
The primary key (PK) of the weak entity is usually a combination
of its own attribute + foreign key.
Example
EER Model:
Example