Chapter :-2 (English)
5. Entity Set
Strong Entity Set
Definition:
A Strong Entity Set is an entity set that has a primary key and can be uniquely identified independently of other entities.
· It does not rely on any other entity for identification.
Example:
· Student(StudentID,
Name, Age) – StudentID uniquely identifies each student.
✅ Advantages of Strong Entity Set
1. Independent Identification – Can be uniquely identified without other entities.
2. Simpler Design – Easier to model and understand.
3. Data Integrity – Primary key ensures uniqueness.
4. Supports Relationships – Can participate in relationships with other entities.
✅ Disadvantages of Strong Entity Set
1. Limited Context – Cannot represent dependent entities naturally.
2. May Require Additional Attributes – For complex relationships, extra attributes may be needed.
⭐ Weak Entity Set
Definition:
A Weak Entity Set is an entity set that cannot be uniquely identified by its own attributes alone.
· It depends on a strong entity (owner) for identification via a partial key.
· The relationship connecting them is called an identifying relationship.
Example:
· Dependent(DependentName,
StudentID) – DependentName alone is not unique; together with StudentID (from Student), it forms a unique key.
✅ Advantages of Weak Entity Set
1. Represents Dependent Data – Useful for entities that depend on others.
2. Maintains Referential Integrity – Always linked to a strong entity.
3. Supports Complex Relationships – Handles one-to-many dependent scenarios effectively.
✅ Disadvantages of Weak Entity Set
1. Cannot Exist Independently – Requires a strong entity for identification.
2. More Complex Design – Needs identifying relationship and composite key.
3. Dependency Overhead – Changes in the strong entity may affect weak entities.
Table form
|
Entity Set Type |
Definition |
Advantage |
Disadvantage |
|
Strong Entity |
Can be uniquely identified by its own attributes |
Independent, simple design, supports relationships |
Cannot represent dependent data naturally |
|
Weak Entity |
Cannot be uniquely identified alone; depends on strong entity |
Represents dependent data, maintains integrity, supports complex relationships |
Cannot exist independently, more complex design, dependency overhead |