What foreign keys to add in 1:N relationship - Logical Model
问题 I'm confused about marking down bidirectional 1:N relationship in a logical model. We have two tables: Employee and Department. Every employee "knows" what department he's working at and every department "knows" what employees work there - in other words a collection of Employee identifiers. From a formal point of view, do I mark this down by adding FK to both tables? |EMPLOYEE | |DEPARTMENT| |____________| |__________| |PK EMP_ID |>O------||-|PK DEPT_ID| |FK DEPT_ID | |FK EMP_ID | |NAME |