Dbms Mini Report
Dbms Mini Report
A.Y. 2020-2021
Submitted by,
ABSTRACT
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.
Chapter 1: Introduction
Database is an organized collection of data. The data is typically
organized to model aspects of reality in a way that supports processes requiring
information. A DBMS makes it possible for end users to create, read, update and
delete data in a database. The DBMS essentially serves as an interface between the
database and end users or application programs, ensuring that data is consistently
organized and remains easily accessible. The DBMS manages three important
things: the data, the database engine that allows data to be accessed, locked and
modified and the database schema, which defines the database’s logical structure.
These three foundational elements help provide concurrency, security, data
integrity and uniform administration procedures. The DBMS can offer both logical
and physical data independence. That means it can protect users and applications
from needing to know where data is stored or having to be concerned about
changes to the physical structure of data.
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.
Chapter 3 : ER diagram
TRAINS
STATIONS
BOOKING
train_name char(15),
total_seats number(3),
reserved_seats number(3)
);
TRAIN_DETAILS
);
BOOKING
);
STATIONS
To ensure active sql database connection. To do so you can use local server
solution software like xampp which is open source and easy to use , or deploy site
on a web server connected to sql.
Webpage technologies
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
inconviniences of going to railway station for each and every query they
get. We had considered the most important requriments only, many more
features and details cand be added to our project inorder 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.