Quote:
|
Originally Posted by starkytwo
I am having particular trouble in trying to represent the fact that a player could belong to two teams (one proper and one on loan),
|
there are two approaches
1. add a "role" attribute to the Team_Player table
pro: only one relationship table
con: must allow multiple rows per player, tricky to limit this to 2
2. leave Team_Player as proper, add separate Team_Player_Onloan relationship table
pro: PKs can be enforced
con: queries get trickier