← Quiz: ER Model: all 10 questions
Quiz: ER Model · Question 5 of 10
Department (1) — Employee (N). Where does the foreign key go?
Department (1) — Employee (N). Where does the foreign key go?
- A.In the department table
- B.In the employee table (dept_id)
- C.In both tables
- D.In a new table only
Answer & explanation
Correct answer: In the employee table (dept_id)
The foreign key goes on the "many" side: each employee row stores its dept_id.
Can you get the rest right without peeking?
Take the timed Quiz: ER Model quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →