Conceptual Model | I have not been able to find any example of a subclass with it's own PK. I understand that the primary key, person_id, is inherited from the superclass, but I do not know whether it combines with the subclass' PK, employee_id, to create a composite PK in the subclass' relational model.
Basically, which is correct?
Employee(employee_id, person_id, name, salary)
OR
Employee(employee_id, person_id, name, salary)
Assuming the hierarchy is not mandatory.
This is just a quick example to help me understand the process, so don't worry about the goodness of the conceptual model.