Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 categories.

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 source 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 rainbow colored and has FLA001 as its license plate number.

Design an ER schema for this application, and draw an ER diagram for that schema. 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_2

Step: 3

blur-text-image_3

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

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions

Question

How appropriate is it to conduct additional research?

Answered: 1 week ago

Question

6. Explain how to train managers to coach employees.

Answered: 1 week ago

Question

5. Tell how job experiences can be used for skill development.

Answered: 1 week ago