Computer Science, asked by bodduramya736, 3 months ago

teacher and student entities can be merged and create a higher level entity person​

Answers

Answered by suryasuren
0

According to the below diagram, there are two entities, namely teacher and student. The teacher entity contains attributes such as teacher_id, name, and address and student entity include student_id, name, and address. Both entities can be combined to create a higher-level entity person. The address and name are common to both the entities. The teacher entity has its attribute teacher_id, and the student has its attribute student_id. The entities teacher and student are generalized further into the person entity.

A lower-level entity is called a subclass, and the higher-level entity is called a superclass. So, the person entity is the superclass of two subclasses teacher and student.

Similar questions