Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
示例:-我有 3 个表产品、分支和员工。它们是多对多关系。所以我可以将新表中的所有主键添加为外键以进行引用吗?而不是创建 3 个不同的表。意味着组合product_branch、product_employee 和 branch_employee。
这种关系可能有意义——也可能没有。
例如,这可能并不能避免仅在员工和分支机构之间建立其他规范化关系的需要。