I am creating ERD following some database design requirements.
This specific part on the ERD is what I am trying to represent.
I made the MANAGEMENT
entity because it's related to DATE_ACCEPTANCE
, which is about managers working term (when it's started, who is the manager at a specific time).
I'm currently not sure about the relation between MANAGEMENT
and 2 other entities in this ERD as it might affect the conversion to relational model.
DEPARTMENTS
, that is, each department must have a manager and his/her date of acceptance. TheMANAGE
recursive relationship has nothing to do with that requirement I think (like supervising).MANAGER_CODE
would be add toDEPARTMENTS
as FK. At first, I letMANAGER_CODE
andDATE_ACCEPTANCE
be inDEPARTMENTS
. Then my lecturer advised me to establish another relationship betweenDEPARTMENTS
andEMPLOYEES
, that's why we are here. Do you find my question too confusing? Would it be better if I add full DB requirements and full of my current ERD to this question?