Maybe this is not the best way to go about this ... But if it is I want to check as I have not seen any EER models showing this.
Say you have the entities Employees, Managers and Workers
An employee is either a manager or a worker
employees(Username PK, password, name)
manager(manager_ID PK, shift, department)
workers(worker_ID PK, hour_per_week, manager_ID FK)
Can I insert ID as a attribute to employees which is the primary key of either manager or worker.
Or do I add username as a foreign key to both managers and workers
Basically how do I link employees to both workers and managers depending on who they are?