1
我有一个情况,其中1条记录可能有多行可能的主表。MySQL管道分离值vs映射表
例如
sports master table
Cycling
Rafting
Shooting
Football
Cricket
现在我人表
Person
id
first_name
last_name
我能有运动的id为管分离领域的人表的外键或者我可以创建单独的表将作为映射表
例如
sports_persons_mapping
id
person_id
sports_id
快来从2个选项中进行选择。
管分隔字段在人员表或映射表中sports_persons_mapping?
在搜索哪些是有效的或哪些更有效,为什么?
[“associative entity”](http://en.wikipedia.org/wiki/Associative_Entities) –