edited by
998 views
9 votes
9 votes

Answer should be 1:1 isn't it ? Please Clear If i am wrong.

Consider a business rule such as “Each department is manged by atmost one employee”?

What is the cardinality from employee to the department?

  1. $1:1$
  2. $\text{1 : m}$
  3. $\text{m : 1}$
  4. $\text{m : n}$
edited by

3 Answers

3 votes
3 votes

"Each department is managed by atmost one employee"

BUT one employee can manage more than one department.

So the cardinality from employee to department should be 1:m.i.e. one to many.

0 votes
0 votes
The answer is option-B. 1:1 cannot be the answer as they have not stated that "each employee manages atmost one dept"!
0 votes
0 votes
1:m seems to be a more appropriate answer as for a particular employee there can be 0 or atmost 1 department.

Related questions

0 votes
0 votes
0 answers
1
Ashutosh_17 asked Apr 13, 2023
433 views
Consider the following relation (capitalized letters are attributes and lower letters are values).X:From the given FDs find the dependencies that seems to apply on X and ...
0 votes
0 votes
2 answers
3
priyanshu710 asked Sep 15, 2021
784 views
What is the minimum number of relations required to represent a one-to-many relationship having total participation on the many side?Can i have just a single table with a...
1 votes
1 votes
1 answer
4
aditi19 asked Jun 7, 2019
1,884 views
How to represent referential integrity constraint in ER model?pls explain with diagram