Case #1 PDF
-
Upload
jessica-hunter -
Category
Documents
-
view
5 -
download
0
description
Transcript of Case #1 PDF
-
COACH
PK CoachID
FK1 TeamID Coach_F_Name Coach_L_Name
TEAM
PK TeamID
TeamCity TeamStadium TeamOwnerFK1 CityID TeamName
PLAYER
PK PlayerID
FK1 TeamID Player_L_Name Player_F_Name Player_Height Player_Weight
GAME
PK,FK1 V_TeamIDPK,FK2 H_TeamID
HostScore VisitorScore Winner
HOST_TEAM
PK,FK1 H_TeamID
FK1 TeamCity HostDateFK1 TeamName
VISITOR_TEAM
PK,FK1 V_TeamID
FK1 TeamCity VisitDateFK1 TeamName
has
has
hosts
visits
Case #1: Jonesburgh
d
OFFENSIVE
PK,FK1 CoachID
DEFENSE
PK,FK1 CoachID
PHYSICAL TRAINER
PK,FK1 CoachID
COACH_IS_PHYS
COACH_IS_OFFENSE
COACH_IS_DEF
O
TEAM_IS_VISTOR
TEAM_IS_HOST
Business RulesA city has one team.A team belongs to one city.A team has many players.A player belongs to one team.A team can play many games.Each game can be played by two teams.Each game has one visitor, and one host.A team can visit many games.A team can host many games.A team can have many coaches.Each coach belongs to one team.A coach may be an offensive, defensive, physical trainer or all.
CITY
PK CityID
CityName CityPop CityAirport
has
Lab3 [Case_1] Elliot - FINAL_UPDATE.vsdPage-1