Each department has many employees, and each employee belongs to one department. From Department to Employee, the relationship is:
-
A
Self-referencing
-
B
One-to-many
Correct answer
-
C
Many-to-many
-
D
One-to-one
Correct answer
B. One-to-many
15 views
Explanation
This is a one-to-many (1:N) relationship. It is implemented by placing the department's primary key as a foreign key in the Employee table.
Reference
Asked in: GATE CS, NTS, PPSC
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ