Professional Documents
Culture Documents
Erd Example
Erd Example
TOWN
BUS ROUTE
STAGE
TOWN
BUS
ROUTE
STAGE DRIVER
TOWN
BUS
ROUTE
TOWN
BUS allocated ROUTE
TOWN
BUS allocated ROUTE
GARAGE TOWN
BUS allocated ROUTE
passes
GARAGE
TOWN
BUS allocated ROUTE
passes
GARAGE
passes
TOWN
BUS allocated ROUTE
passes
GARAGE
passes
has
TOWN
BUS allocated ROUTE
passes
has
GARAGE
passes
has
TOWN
Q2: Draw an ERD
• Major airlines companies that provide passenger services in Taiwan are:
UniAir, TransAsia Airways, Far Eastern Transport, Great China Airlines etc.
Taiwan’s Federal Aviation Administration (TFAA) keeps a database with lots
of information on all airlines. This information is made accessible to all
airlines in Taiwan with the intention of helping the Companies assess their
Competitive position in the domestic market. The information kept consists
of:
• Each airpline has an identification number, name of the contact person and
telephone number.
• For each aircraft identification number, capacity and model is recorded.
• Each employee has an employee identification number, name, address,
birthday, sex, position with the company and qualification.
• Each route has a route identification number, origin, destination,
classification (into domestic or international route), distance of the route
and price charged per passenger.
• Each airline keeps information about their buy/sell transactions (for
example, selling an airplane ticket is a sell transaction, paying for
maintenance is a buy transaction). Each transaction has a transaction
identification number, date, description and amount of money
paid/received.
airline has employee
airline has employee
assign
rout
airline has employee
assign aircraft
rout
transaction
performs
assign aircraft
rout
• Q10: Draw an ERD
• TCS prides itself on having up-to-date information on the processing
and current location of each shipped item. To do this, TCS relies on
a company-wide information system. Shipped items are the heart
of the TCS 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 TCS 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 TCS transportation events (i.e., flights, truck
deliveries). These transportation events are characterized by a
unique scheduleNumber, a type (e.g, flight, truck), and a
deliveryRoute. Please create an Entity Relationship diagram that
captures this information about the TCS system. Be certain to
indicate identifiers and cardinality constraints
Shipped Items
Shipped Items
Retail Center
Shipped Items Transportation
Retail Center
Shipped Items Transportation
received
Retail Center
Shipped Items Send Transportation
through
received
Retail Center