86.8k views
2 votes
When an entity class has a relationship with itself, it is called a(n) ________ relationship?

1) One-to-One
2) One-to-Many
3) Many-to-Many
4) Self-Referencing

1 Answer

1 vote

Final answer:

A self-referencing relationship is when an entity class has a relationship with itself, exemplified in scenarios like employee supervision or part assemblies in a database.

Step-by-step explanation:

When an entity class in a database has a relationship with itself, this is known as a Self-Referencing relationship. In a self-referencing relationship, one instance of the entity is associated with another instance of the same entity. Examples of this can include a supervisory scenario where an employee (one instance of the entity) supervises another employee (another instance of the same entity) or a part assembly hierarchy where a part (one instance of the entity) is composed of other parts (other instances of the same entity).

User Vilsol
by
7.5k points