You are on page 1of 3

Entities:

Suburb:

Attributes: Suburb:

SuburbID (PK)

SuburbName

Attributes: Team

TeamID (PK)

TeamName

ContactPerson

ContactPhone

Foreign Key: SuburbID (References Suburb.SuburbID)

Player:

Attributes: Player

PlayerID (PK)

PlayerName

PlayerAddress

PlayerPhone

Foreign Key: TeamID (References Team.TeamID)

Coach:

Attributes: Coach

CoachID (PK)

CoachName

CoachAddress

CoachPhone
CoachingQualification

Foreign Key: TeamID (References Team.TeamID)

Attributes: Game:

GameID (PK)

GameDate

StartTime

HomeTeamID (Foreign Key: References Team.TeamID)

VisitorTeamID (Foreign Key: References Team.TeamID)

HomeTeamScore

VisitorTeamScore

Attributes: TeamGame:

(GameID, TeamID) pk

Attributes: Child:

ChildID (PK)

ChildName

DateOfBirth

Foreign Key: PlayerID (References Player.PlayerID) Assumption

Relationships:

Suburb - (1:1) Team: Each suburb can have many teams, but a team belongs to only one suburb.

Team - (1:M) Player: Many players can be part of one team (up to 10), and one player can be part of
only one team at a time.

Team - (1:M) Coach: One team can have one or two coaches, but a coach can coach multiple teams.

Team - (M:N) Game: Many teams play many games (each team plays two games against each other
team - once as home and once as visitor). This is a many-to-many relationship resolved with an
associative entity "Game".
Player - (1:M) Child: One player can have many children, but a child belongs to only one player.
Assumption

You might also like