Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Keithston

and Partners

TOKYO Express
Presentated by
M Taimoor.
Huzaifa Ammad.

Visit Our Website


tokyoexpress.com
Table of content

Introduction ERD Schema MySql Query Test Cases


Code
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
&
Non-Functional
Requirments

Functional NOn-Functional
Train Management. Performance.
Schedule Management. Security.
Ticket Booking System. Usability.
Passenger Management. Reliability.
Entity Relation Diagram
Schema
Entities
Select from tables

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;
Select from tables

SELECT
Ticket.ticket_id,
Ticket.train_id,
Train.train_name,
Train.train_type,
Ticket.passenger_id,
Ticket.seat_number,
Ticket.booking_date,
Ticket.fare
FROM
Ticket
INNER JOIN Train ON
Ticket.train_id = Train.train_id;
Select from tables

SELECT
Ticket.ticket_id,
Ticket.train_id,
Ticket.passenger_id,
Ticket.seat_number,
Ticket.booking_date,
Ticket.fare,
Ticket_Examiner.examiner_id,
Ticket_Examiner.name AS examiner_name,
Ticket_Examiner.contact_infoAS
examiner_contact_info
FROM Ticket JOIN Ticket_Examiner
ON
Ticket.examiner_id=Ticket_Examiner.examine
r_id;
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.
Keithston
and Partners

Thank You
For Your Attention

Visit Our Website


reallygreatsite.com

You might also like