AdvDB Sheet1
AdvDB Sheet1
a) UPS prides itself on having up-to-date information on the processing and current location
of each shipped item. To do this, UPS relies on a company-wide information system.
Shipped items are the heart of the UPS product tracking information system. Shipped
items can be characterized by item number (unique), weight, dimensions, insurance
amount, destination, and final delivery date. Shipped items are received into the UPS
system at a single retail center. Retail centers are characterized by their type, uniqueID,
and address. Shipped items make their way to their destination via one or more standard
UPS transportation events (i.e., flights, truck deliveries). These transportation events are
characterized by a unique scheduleNumber, a type (e.g, flight, truck), and deliveryRoute.
Please create an Entity Relationship diagram that captures this information about the UPS
system. Be certain to indicate identifiers and cardinality constraints.
1
b) 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 11th, 1999) and a score (such as 4 to 2).
2
QUESTION 3: CREATING A RELATIONAL DATABASE SCHEMA: