587 views
0 votes
0 votes
Consider the entity type DEPENDENT, related to EMPLOYEE, which is used to keep
track of the dependents of each employee via a 1:N relationship,(assume dependent is weak entity)
Please explain that how we are saying that it is 1:N relationship? if possible then explain it with table.

1 Answer

Best answer
0 votes
0 votes
From what I understand dependents here mean son or daughter. Now an employee can have as many children(dependents) as possible (poor family planning ;) ). This means that from Employee to Dependents , the relationship is definitely 1:N.

Also there is no way an employee database will have key attributes for dependents entity, therefore the children will be identified by their parent. So dependents is definitely a weak entity with total participation.

$Exception$

If it turns out that both husband and wife are working in the same organization then its definitely N:N(many-to-many) relationship.
selected by

Related questions

2 votes
2 votes
4 answers
2