Database Project Proposal Final
Database Project Proposal Final
Table of Contents
• Introduction
• Requirements Analysis
• System Design
• Database Design
• Implementation Plan
• SQL Query Code
• Security Measures
• Testing Plan
• Conclusion
• References
• Appendices
Introduction:
Project Description:
The Railway Management System DBMS project aims to develop a comprehensive database
management system to streamline and enhance the operational efficiency of railway services.
Objectives:
i. To automate and improve the efficiency of train scheduling and management.
ii. To facilitate a seamless and secure ticket booking process for passengers.
iii. To manage passenger information efficiently and ensure data integrity.
iv. To provide real-time updates and notifications to passengers regarding train schedules and
any changes.
Functional Requirements:
Train Management.
Schedule Management.
Ticket Booking System.
Passenger Management.
Non-Functional Requirements:
Performance.
Security.
Usability.
Reliability.
Creating Tables:
CREATE TABLE Train (
train_id INT PRIMARY KEY AUTO_INCREMENT,
train_name VARCHAR(100) NOT NULL,
train_type VARCHAR(50) NOT NULL
);
Query to Display Last Name, Department Number, and Department Name for All Employees:
SELECT
Ticket.ticket_id,
Passenger.name AS passenger_name,
Passenger.age,
Passenger.gender,
Passenger.contact_info,
Train.train_name,
Train.train_type,
Ticket.seat_number,
Ticket.booking_date,
Ticket.fare
FROM
Ticket
JOIN
Passenger ON Ticket.passenger_id = Passenger.passenger_id
JOIN
Train ON Ticket.train_id = Train.train_id;
Security Measures
User Roles and Permissions:
User Roles and Permissions
Role-Based Access Control (RBAC):
Define specific roles such as Admin, Ticket Examiner, and Passenger.
Assign permissions based on roles to ensure users have access only to the data and functionalities
necessary for their role.
Testing Plan
Test Cases:
I. Verify that new trains can be added successfully.
II. Test deletion of train records.
III. Verify the creation of new train schedules.
IV. Test booking tickets for different trains.
Conclusion
Summary:
The Railway Management System DBMS is designed to streamline and enhance the operational
efficiency of railway services by managing critical aspects such as train schedules, ticket bookings,
passenger information, and real-time updates. This system provides a comprehensive solution for both
passengers and railway administrators, offering functionalities to manage trains, schedules, tickets,
passengers, and ticket examiners efficiently.