Question 1) We plan to construct a database for the FAU parking service shstem. The FAU 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 student has School_ID and name. A student can purchase more than one parking-permit.  A vehicle has id, brand, and color. A student can own multiple vehicle.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question

Question 1) We plan to construct a database for the FAU parking service shstem. The FAU 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 student has School_ID and name. A student can purchase more than one parking-permit.

 A vehicle has id, brand, and color. A student can own multiple vehicle.

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

 The FAU maintains a time table and uses it to record when a student parks a vehicle 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 Question1.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Dataset
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning