Entity-Relationship Diagram (ERD):
The ERD for the FedEx system can have the following entities and relationships:
- Entity: Shipped Items (Primary Key: Item Number)
Characteristics: Weight, Dimensions, Insurance Amount, Destination City, Final Delivery Date
Cardinality: One-to-Many relationship with Retail Center through Received At
- Entity: Retail Center (Primary Key: Center ID)
Characteristics: Center Type (FedEx Office, FedEx Ship Center, Office Depot, FedEx Authorized Ship Center)
Cardinality: One-to-Many relationship with Shipped Items through Received At, Many-to-One relationship with Transportation Event through Departed From
- Entity: Transportation Event (Primary Key: Event ID)
Characteristics: Schedule, Type (Flight, Truck, Ship), Delivery Route
Cardinality: Many-to-Many relationship with Shipped Items through Transported By, Many-to-One relationship with Retail Center through Departed From
Assumptions:
- Each shipped item can only be received at one retail center.
- Each retail center can be of only one center type.
- Each transportation event can transport multiple shipped items.
ER Data Model:
- Shipped Items (Item Number, Weight, Dimensions, Insurance Amount, Destination City, Final Delivery Date, Received At)
- Retail Center (Center ID, Center Type)
- Transportation Event (Event ID, Schedule, Type, Delivery Route, Departed From)
*Note: foreign keys are identified as attribute names in parentheses next to the table name.
Relational Schema:
- Shipped Items(ItemNumber, Weight, Dimensions, InsuranceAmount, DestinationCity, FinalDeliveryDate, RetailCenterID)
- Retail Center(CenterID, CenterType)
- Transportation Event(EventID, Schedule, Type, DeliveryRoute, DepartedFromCenterID)
- Transported By(EventID, ItemNumber)
*Note: Primary Keys are underlined.