0% found this document useful (0 votes)
32 views6 pages

Car Rental Service

The Car Rental Service database project aims to efficiently manage car rental operations by tracking available cars, customer details, and rental transactions. It addresses issues faced by manual systems, such as data loss and inconsistency, by implementing a relational database with proper normalization and security measures. The project includes a detailed design, expected outcomes, and a timeline for completion, ensuring a streamlined and scalable solution for car rental businesses.

Uploaded by

Khuzaima butt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views6 pages

Car Rental Service

The Car Rental Service database project aims to efficiently manage car rental operations by tracking available cars, customer details, and rental transactions. It addresses issues faced by manual systems, such as data loss and inconsistency, by implementing a relational database with proper normalization and security measures. The project includes a detailed design, expected outcomes, and a timeline for completion, ensuring a streamlined and scalable solution for car rental businesses.

Uploaded by

Khuzaima butt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

MUHAMMAD UZAIR TARIQ

Registration No :
SP24-BCS-211

Submitted to :
MAM SEHRISH

Subject name :
DATABASE

Department name :
BSCS

Comsats university Islamabad

(Sahiwal campus)
Car Rental Service
1. Introduction
The Car Rental Service database project is designed to manage the operations
of a car rental business efficiently. The system tracks available cars, customer details, rental
transactions, and the return of vehicles. It ensures smooth handling of rentals while maintaining
accurate and up-to-date records of all activities.

2. Objectives

• To design a reliable database for managing car rentals, customers, and rental histories.
• To provide a simple system for tracking car availability and customer bookings.
• To enable quick updates for renting and returning cars.
• To maintain consistency, accuracy, and security of rental data.
• To normalize the data and eliminate redundancy for efficient performance.

3. Problems
The current manual or semi-automated management of rental services faces issues like:

• Loss of customer or rental records.


• Difficulties in tracking car availability in real-time.
• Delays in managing rental and return information.
• High chances of data duplication and inconsistency.
• Difficulty in generating rental history reports.

4. Scope of the Project

This project focuses on creating a relational database to:

• Manage cars available for rent.


• Store customer details securely.
• Track rentals and returns accurately.
• Provide easy reporting on rental histories and available cars.
• Be expandable in the future (for example, adding features like payments or maintenance).

5. Database Requirements

Functional Requirements
• Add, update, and delete car records.
• Add, update, and delete customer records.
• Register a new rental when a customer rents a car.
• Update the system when a car is returned.
• Query available cars and customer rental history.

Non-Functional Requirements

• The system must ensure data integrity (foreign keys, constraints).


• The system must be fast and efficient (indexes on important fields).
• The system must follow proper normalization rules.
• The database must be secure and prevent unauthorized access.
• The system must be simple to understand and extend.

6. Database Design (ER Diagram and Explanation)

ER DIAGRAM

Entities and Attributes:

1. Car

• car_id (Primary Key)


• model
• brand
• year
• rental_price_per_day
• status (Available / Rented)

2. Customer

• customer_id (Primary Key)


• name
• phone
• email
3. Rental

• rental_id (Primary Key)


• car_id (Foreign Key from Car)
• customer_id (Foreign Key from Customer)
• rent_date
• return_date

Relationships:

• A Car can be rented many times over time → 1-to-many relationship with Rental.
• A Customer can rent multiple cars → 1-to-many relationship with Rental. • Rental
connects Customers and Cars.

Normalization Applied:

1st Normal Form (1NF):


• All tables have atomic values (no multiple values in one field).

2nd Normal Form (2NF): • All non-key attributes are fully functionally
dependent on the whole primary key.

3rd Normal Form (3NF):


• No transitive dependency exists (attributes depend only on the primary key). Example:

• Instead of storing customer details again in Rental, we just store customer_id and link
to Customer table.
7. Methodology Used

• Database Management System (DBMS): MySQL


• Data Modeling: Entity-Relationship (ER) model
• Normalization: Up to Third Normal Form (3NF) to ensure minimal redundancy.
• Constraints:

Primary keys to uniquely identify each record.


Foreign keys to maintain relationships between entities.
• Techniques:

Use of SQL queries for data manipulation (Insert, Update, Delete, Select).

Proper indexing for fast searches (e.g., indexing car_id, customer_id).

8. Expected Outcomes

• A fully functional database that efficiently manages a car rental business.


• Ability to add, update, and delete car and customer records easily.
• Real-time tracking of rented and available cars.
• Generation of accurate rental history reports.
• A well-structured, normalized database with minimal redundancy.
9. Timeline and Milestones

Task Timeline
Requirement Gathering 1 day

Database Design (ERD, Schema) 2 days

Database Creation (Tables) 1 day

Data Insertion (Sample Records) 1 day

Query Building and Testing 2 days

Documentation Writing 2 days

Final Testing and Debugging 1 day


Total Estimated Time 10 days

10. Conclusion
The Car Rental Service Database Project is a simple yet powerful system designed to
streamline rental operations. By carefully designing the database with proper normalization and
realistic entity-relationship modeling, the project ensures efficiency, accuracy, and scalability.
This solution addresses the challenges faced by manual rental systems and opens the door to
further enhancements like online booking and payment management in the future.

11. References

• MySQL Documentation
• Database System Concepts by Abraham Silberschatz
• Practical Database Design by John Carter
• Online ERD and Normalization Tutorials

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy