I can't figure out how to relate the tables.
e.g. I have 4 tables (league, match, player and team) I have divided between PR and FK, but I cannot understand how to relate them.
Is it possible that they cannot be related?
I tried to link them together but I don't understand the logic
If you have these four tables, there are probably relationships between them that can be created.
Some of techniques to connect these tables are:
the primary key i-e league ID, should be used in the league table.
A foreign key i-e league ID, should be used to connect the team table to the league table and the primary key, i-e team ID, should be assigned to each team.
A foreign key, i-e team ID, should be used to connect the player table to the team table and the primary key, such as a player ID, should be assigned to each player.
Foreign keys should be used to connect the match table to the team table and the league table. A the primary key, i-e match ID, should be assigned to each match.