94.8k views
3 votes
A database is being constructed to keep track of the teams and games of a sports league. A team has a number of players, not all of whom participate in each game. It is desired to keep track of the players participating in each game for each team, the positions they played in that game, and the result of the game. Design an ER schema diagram for this application, stating any assumptions you make

User Tony Day
by
8.4k points

1 Answer

5 votes

Based on the information provided, we can identify the following entities:

Team

Player

Game

Now, let's consider the relationships between these entities and any additional attributes associated with them.

Assumptions:

Each team has a unique identifier (TeamID).

Each player has a unique identifier (PlayerID).

Each game has a unique identifier (GameID).

A player can belong to one or more teams.

A player can participate in multiple games, and in each game, a player may have different positions.

Each game is associated with two teams (home team and away team).

The result of a game can be represented as a simple attribute (e.g., Win, Lose, Draw).

User Chau Nguyen
by
8.8k points

No related questions found