Quote:
Originally Posted by Juanster
The question is what would be the foreign key on the TROPHIES table?
|
My assumption is that a team cannot win a trophy when it did not participate in the corresponding competition.
So I'd say a single FK needs to go to TEAMS_COMPETITIONS
Can you have more than one trophy per competition? If no, then the artificial PK on TROPHIES is not needed as well. But then the question comes up, what else do you want to store in the TROPHIES table that couldn't be stored the TEAMS_COMPETITIONS table (and maybe the competitions table)