0% found this document useful (0 votes)
657 views1 page

ER Question

The document provides requirements for creating an entity relationship (ER) diagram for a database about the National Hockey League (NHL). It specifies that the ER diagram should include entities for teams, players, games, and injuries and define the relationships and attributes for each, including cardinalities and role indicators. A sample ER diagram is provided that relates teams to players, games to teams, and players to injuries with the required information.

Uploaded by

Aditya Choudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
657 views1 page

ER Question

The document provides requirements for creating an entity relationship (ER) diagram for a database about the National Hockey League (NHL). It specifies that the ER diagram should include entities for teams, players, games, and injuries and define the relationships and attributes for each, including cardinalities and role indicators. A sample ER diagram is provided that relates teams to players, games to teams, and players to injuries with the required information.

Uploaded by

Aditya Choudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Practice ER Diagram Question A Sample Solution

Suppose you are given the following requirements for a simple database for the National
Hockey League (NHL):
the NHL has many teams,
each team has a name, a city, a coach, a captain, and a set of players,
each player belongs to only one team,
each player has a name, a position (such as left wing or goalie), a skill level, and a set
of injury records,
a team captain is also a player,
a game is played between two teams (referred to as host_team and guest_team) and
has a date (such as May 11
th
, 1999) and a score (such as 4 to 2).
Construct a clean and concise ER diagram for the NHL database using the Chen notation
as in your textbook. List your assumptions and clearly indicate the cardinality mappings
as well as any role indicators in your ER diagram.
Here is one sample solution. Note that other diagrams are possible
depending on assumptions.
date score
game
host guest
team
t-name
city
coach
captain
belongs
to
skill level
player
p-name position
log
injury
record
id
description

You might also like