Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DATABASE ER DIAGRAM Consider the following set of requirements for a taxi company database that is used to keep track of all trips taken by

DATABASE ER DIAGRAM

Consider the following set of requirements for a taxi company database that is used to keep track of all trips taken by its fleet, all its employees, the passengers who use its services, and so on. The company operates in one state only, owns a fleet of vehicles, has 100 employees of which 20 are drivers, and others are categorized in many different positions.

It is important to keep track of each passengers name, phone number, and music preference (so that the driver can play the proper tunes during the ride). It is possible that the same phone number is used by multiple individuals in a household. A trip may be taken by multiple passengers.

Obviously, it is important to keep track of all employees of the company. For each employee, we need to keep track of the unique employee number, name, and address. Address should contain street address, city, state, and zip code.

Drivers are extremely important for the company to track. For each driver, the company stores the date when that individual was licensed to operate a taxi vehicle.

Each trip is described by its unique number, the zip codes of its starting and ending points, the departure time at the origin and the arrival time at the destination. Passengers riding, the driver serving, and the vehicle used in this trip are also identified with every trip. The taxi company wants to keep track of all trips taken by its fleet in a year.

For each vehicle type that exists, the company keeps track of its make and model [e.g., Honda Civic, Ford Pinto, Toyota Prius, etc.]

Each vehicle owned by the company is assigned a license plate number, year, its color, and which type of vehicle it is. For example, the company may own a Honda Civic 2010 which is yellow colored and has FLA001 as its license plate number.

Design an ER schema for this application and (b) draw its ER diagram using proper ER diagram notations. Specify key attributes of each entity type and structural constraints on each relationship type. Specify the structural constraints using partial/total participation and specification of cardinality ratio. If you find that the specifications are incomplete, then make appropriate assumptions and document them precisely

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions