Car Rental Enterprise Database Management System
Enterprise-grade relational database architecture modeling vehicle fleets, dynamic reservations, customer identification, and multi-branch transactional ledgers.
Project Overview & Architecture
Conceived and engineered for the Master's level Database Systems & Applications module. The project constructs a fully normalized relational schema simulating a multi-location vehicle rental enterprise. It integrates entity-relationship definitions, integrity constraints, indexing strategies, and automated PL/SQL transactional triggers to guarantee zero reservation conflicts and real-time maintenance logging.
Key Implementation Highlights
- ✓Engineered full production-ready SQL script (f124077.sql) with declarative schema definitions.
- ✓Modeled branches, fleet inventories, rental contracts, maintenance logs, and financial transactions.
- ✓Strict third normal form (3NF) compliance eliminating data anomalies and redundant keys.
- ✓Recorded video presentation and technical dossier detailing architecture and query execution plans.
Implementation Source Code
1 File12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849-- Application 124077: Cars4U Enterprise Rental System
-- Oracle Database Physical Schema & Integrity Constraints
CREATE TABLE BRANCH (
branch_id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
branch_name VARCHAR2(100) NOT NULL,
street_address VARCHAR2(200) NOT NULL,
city VARCHAR2(100) NOT NULL,
phone_number VARCHAR2(20) NOT NULL
);
CREATE TABLE VEHICLE_CATEGORY (
category_id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
category_name VARCHAR2(50) NOT NULL,
daily_rate NUMBER(10,2) NOT NULL,
luggage_capacity NUMBER NOT NULL
);
CREATE TABLE VEHICLE (
vehicle_id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
vin VARCHAR2(17) UNIQUE NOT NULL,
make VARCHAR2(50) NOT NULL,
model VARCHAR2(50) NOT NULL,
year NUMBER(4) NOT NULL,
current_mileage NUMBER NOT NULL,
status VARCHAR2(20) DEFAULT 'AVAILABLE' CHECK (status IN ('AVAILABLE', 'RENTED', 'MAINTENANCE')),
branch_id NUMBER REFERENCES BRANCH(branch_id),
category_id NUMBER REFERENCES VEHICLE_CATEGORY(category_id)
);
CREATE TABLE CUSTOMER (
customer_id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
first_name VARCHAR2(50) NOT NULL,
last_name VARCHAR2(50) NOT NULL,
email VARCHAR2(100) UNIQUE NOT NULL,
driver_license_no VARCHAR2(50) UNIQUE NOT NULL
);
CREATE TABLE RENTAL_BOOKING (
booking_id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
customer_id NUMBER NOT NULL REFERENCES CUSTOMER(customer_id),
vehicle_id NUMBER NOT NULL REFERENCES VEHICLE(vehicle_id),
pickup_branch_id NUMBER NOT NULL REFERENCES BRANCH(branch_id),
return_branch_id NUMBER NOT NULL REFERENCES BRANCH(branch_id),
start_date DATE NOT NULL,
end_date DATE NOT NULL,
total_amount NUMBER(10,2) NOT NULL,
booking_status VARCHAR2(20) DEFAULT 'CONFIRMED'
);Technologies & Tools
Academic Classification
More in Masters & College Projects
View all in categoryDiabetic Retinopathy Clinical Detection System
Deep learning computer vision system and clinical Streamlit application that analyzes retinal fundus imagery to diagnose and classify 5 clinical stages of Diabetic Retinopathy.
International Dropshipping Multi-Vendor E-Commerce
Full-stack multi-vendor dropshipping e-commerce platform built within an Agile Scrum framework, featuring order lifecycles, vendor catalogs, and token authentication.
Academic Examination & Question Bank System
Desktop examination platform engineered with Java Swing and MySQL, supporting dynamic question authoring, student testing, and automated grade reporting.