So we have two entities, employee, and group
- An employee is uniquely identified by an id and has a name
- A group is uniquely identified by name and has a department
- An employee may work in multiple groups, and each group contains many employees
- You should also record the number of hours an employee worked each month for a particular group. Note that the employees do not work the same number of hours each month.
I was able to make an ER diagram for 1 to 3, but I am having trouble with the number 4. How can I represent the fourth requirement in my ER diagram?