DBMS Mini Project Report
DBMS Mini Project Report
Group Members:
Yash Keni
Chirag Sorte
Pratham Kadave
Index
Introduction
Project Description
ER Diagram
Implementation
Conclusion
Introduction
The Railway Reservation System facilitates the passengers to
enquire about the trains available on the basis of source and
destination, Booking and Cancellation of tickets, enquire about
the status of the booked ticket, etc. The aim of case study is to
design and develop a database maintaining the records of
different trains, train status, and passengers.
This project contains Introduction to the Railways reservation
system. It is the computerized system of reserving the seats of
train seats in advanced. It is mainly used for long route. On-line
reservation has made the process for the reservation of seats
very much easier than ever before.
In our country India, there are number of counters for the
reservation of the seats and one can easily make reservations and
get tickets. Then this project contains entity relationship model
diagram based on railway reservation system and introduction to
relation model.There is also design of the database of the
railway reservation system based on relation model. Example of
some SQL queries to retrieves data from rail management
database.
Project Description
This project is about creating the database about Railway
Reservation System.
The railway reservation system facilitates the passengers to
enquire about the trains available on the basis of source and
destination, booking and cancellation of tickets, enquire about
the status of the booked ticket, etc. The aim of case study is to
design and develop a database maintaining the records of
different trains, train status, and passengers. The record of train
includes its number, name, source, destination, and days on
which it is available, whereas record of train status includes
dates for which tickets can be booked, total number of seats
available, and number of seats already booked.
Passengers can book their tickets for the train in which seats are
available. For this, passenger has to provide the desired train
number and the date for which ticket is to be booked. Before
booking a ticket for a passenger, the validity of train number and
booking date is checked. Once the train number and booking
date are validated, it is checked whether the seat is available. If
yes, the ticket is booked with confirm status and corresponding
ticket ID is generated which is stored along with other details of
the passenger. The ticket once booked can be cancelled at any
time. For this, the passenger has to provide the ticket ID (the
unique key). The ticket ID is searched and the corresponding
record is deleted. With this, the first ticket with waiting status
also gets confirmed.
List of Assumption Since the reservation system is very large in
reality, it is not feasible to develop the case study to that extent
and prepare documentation at that level. Therefore, a small
sample case study has been created to demonstrate the working
of the reservation system. To implement this sample case study,
some assumptions have been made, which are as follows:
1. The number of trains has been restricted to 5.
2. The booking is open only for next seven days from the current
date.
3. Only two categories of tickets can be booked, namely, AC
and General.
4. The total number of tickets that can be booked in each
category (AC and General) is 10.
5. The total number of tickets that can be given the status of
waiting is 2.
6. The in‐between stoppage stations and their bookings are not
considered.
ER Diagram
Implementation
1. Entering Train Details
2. Reserving a Train Seat
Conclusion
In our project Railway reservation system, we have stored all the
information about the Trains scheduled and the users booking
tickets and even status of trains, seats etc. This data base is
helpful for the applications which facilitate passengers to book
the train tickets and check the details of trains and their status
from their place itself it avoids inconveniences of going to
railway station for each and every query they get. We had
considered the most important requirements only, many more
features and details cand be added to our project in order to
obtain even more user-friendly applications. These applications
are already in progress and in future they can be upgraded and
may become part of amazing technology.