Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This project worth 10 marks, will be distributed as following: a. Design the database, following an ER model. (2 marks) b. Normalize the tables (

This project worth 10 marks, will be distributed as following:

a.

Design the database, following an ER model.

(2 marks)

b.

Normalize the tables ( each table should be in 3NF at least)

(2 marks)

c.

Use MySQL or any other database to create the normalized tables.

(2 marks)

d.

Populate your tables with 5 rows at least.

(2 marks)

e.

Execute the sample requested queries.

(2 marks)

Each student has to submit one report about his/her project via the Blackboard contains the following:

ER Diagram.

All schemas before and after normalization.

All SQL statements of :

creating tables

inserting data in tables

queries.

Screenshots from MySQL (or any other software you use) of all the tables after population and queries results.

Project 4

Online Car Rental Management System (OCRMS)

Consider the following set of requirements for an Online Car Rental Management System Database.

The OCRMS keeps the fundamental information of each customer such as name, email, password, national ID number, driver license number, expiry date of driver license number, customer ID number, nationality, detailed address, mobile number, date of birth and sex. National id number, customer ID number and driver license number are unique for each customer.

The OCRMS keeps all necessary information about the employees.

Each Car is described by type (e.g. sedan, pickup, truck etc.), brand name, class, model, color, fuel type, current odometer, rental fee per day, location, plate number, vehicle identification number VID and expiry date of vehicle registration. Both VID and plate number are unique for each car.

The customers can register, view available cars, their profiles and prices and book from them by identifying the location, pick-up and return date and time.

An invoice must be issued for each booking plus any additional days or odometers after returning the car.

Different types of payments can be accepted such as cash, cheque and credit cards.

Payment for credit cards should include the cardholder name, cardholder surname, card number, card type (visa, master card, etc.), card expiry date, card security code, total price paid after deducting the cash and cheque value.

The Cheque must have a Cheque-number, expiry date, and amount.

The customer can evaluate the car (out of 5 stars) and write a feedback after returning it.

You should design the system that contain entities and attributes to store data that makes the system able to report the requested information by executing the following queries.

SQL Queries:

List the name and email for all customers who are currently renting cars along with the details of

cars they have rented and renting date.

List the name and email for all customers who supposed to return the cars but they did not.

List all bookings for a particular customer.

List the name of all customers who have rented cars via the online system in the past month.

Find the name of all customers who made a booking with a total above 500$.

Find the cars that have the highest average evaluation.

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

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions

Question

Identify the importance of footnotes to financial statements.

Answered: 1 week ago