Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Construct a database for a parking service system. The university has many parking-lots which can accommodate many vehicles. Each parking-lot has id, name, and location.

Construct a database for a parking service system. The university has many parking-lots which can accommodate many vehicles.

Each parking-lot has id, name, and location. A parking-lot consists of many parking spaces (or spots) and each parking space (or spots) has a unique number.

Every customer has zno and name. A customer can purchase more than one parking-permit.

 

A vehicle has id, brand, and color. A customer can own multiple vehicies.

Each parking permit has no. and price. A parking-permit allows a vechicle to park in dedicated parking spaces (or spots).

The FAU maintains a time table and uses it to record when a customer parks a vechicle at a dedicated parking space (or spot) at a specific time-slot in the time­table.

A time-table has id, date, and hour.

Draw an ER diagram for this application. Specify key attributes of each entity type and structural constraints on each relationship type. Note any unspecified requirements, and make appropriate assumptions to make the specification complete.

 

Question 2 

 

Write DDL statements to create the tables for the ER diagram of Question above.

Step by Step Solution

3.48 Rating (164 Votes )

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

What is recovery?

Answered: 1 week ago

Question

Define functional dependence.

Answered: 1 week ago

Question

1. What does dorsal mean, and what is its oppositepg78

Answered: 1 week ago