Академический Документы
Профессиональный Документы
Культура Документы
Activity
1
Note
that
various
ER
diagrams
could
work,
not
just
the
following
one!
location
Teams
PlayingAway
PlayingHome
Games
location
Player
ID
Teams
MemberOf
PlayingAway
Players
PlayingHome
Players belong
to
Teams
(assume
no
trades
/
changes)
Games
location
Player
ID
Teams
MemberOf
PlayingAway
Players
Games
PlayingHome
OccurIn
Plays
Play ID
A
Game
is
made
up
of
Plays that
result
in
a
yardage
gain/loss,
and
potentially
a
touchdown
Yardage Diff
Touchdown
location
Player
ID
Teams
MemberOf
PlayingAway
Players
Games
PlayingHome
Participation
Type
OccurIn
Plays
ParticipateIn
Play
ID
Yardage Diff
Touchdown
Activity
2
Note
that
various
ER
diagrams
could
work,
not
just
the
following
one!
Team
ID
date
name
location
Player
ID
Teams
MemberOf
PlayingAway
Players
Games
PlayingHome
Participation
Type
OccurIn
Plays
ParticipateIn
Play ID
Yardage Diff
Touchdown
Team
ID
date
name
location
Player
ID
Teams
MemberOf
PlayingAway
Players
Games
PlayingHome
Participation Type
ParticipateIn
OccurIn
Plays
PRIn
Play ID
Yardage Diff
Touchdown
Team
ID
date
name
location
Player
ID
Teams
MemberOf
PlayingAway
Players
WeightOf
Games
PlayingHome
Participation
Type
Weight
ParticipateIn
OccurIn
Weight
Player
ID
Players
might
have
different
weights
at
different
times
Plays
Time
Period
PRIn
Play ID
Yardage Diff
Touchdown
Team
ID
date
name
location
Player
ID
Teams
MemberOf
PlayingAway
Players
WeightOf
Games
PlayingHome
Participation
Type
Weight
ParticipateIn
OccurIn
Weight
Player
ID
Plays
Time
Period
PRIn
Play ID
Yardage Diff
Touchdown
Players
might
have
different
weights
at
different
times
Teams
belong
to
cities- model
as
weak
entity
sets
13
*https://twitter.com/McBPJ/status/638728908628586496/photo/1
Team Name
Teams
LocatedIn
Cities
Name
Teams
belong
to
cities- model
as
weak
entity
sets
name
Team Name
Player ID
MemberOf
Players
Teams
LocatedIn
PlaysPosition
Type
Position
Cities
String
Name
isa
OffensePosition
OffensivePosType
DefensePosition
DefensivePosType