Table per Class Inheritance
Let’s learn about Table per Class Inheritance.
We'll cover the following
The Table per Class Inheritance approach
In a more realistic model, the subclasses of Person
, shown in the previous lesson, has many more attributes, so the Single Table Inheritance approach is no longer feasible here. In the Table per Class Inheritance approach, we get the SQL table model shown in the figure below:
Get hands-on with 1400+ tech skills courses.