0% found this document useful (0 votes)
288 views

Dbms Mini Report

This document summarizes a student project on developing a database for a Railway Management System. It includes chapters on introducing databases and the purpose of maintaining one for a railway reservation system. It outlines the key features of the railway management system including searching trains, managing booking and station information, and generating reports. It also includes entity relationship and relational diagrams to model the database design. Screenshots are provided of the implemented system. The system allows users to book tickets, check train schedules and statuses, and maintains information on trains, stations, fares and bookings.

Uploaded by

Pratham bhardwaj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
288 views

Dbms Mini Report

This document summarizes a student project on developing a database for a Railway Management System. It includes chapters on introducing databases and the purpose of maintaining one for a railway reservation system. It outlines the key features of the railway management system including searching trains, managing booking and station information, and generating reports. It also includes entity relationship and relational diagrams to model the database design. Screenshots are provided of the implemented system. The system allows users to book tickets, check train schedules and statuses, and maintains information on trains, stations, fares and bookings.

Uploaded by

Pratham bhardwaj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

SCHOOL OF COMPUTER ENGINEERING

A.Y. 2020-2021

Course – Database Management System

Topic – Railway Management System

Submitted by,

Name PRN no. Seat no.


Abhijeet Dhanwate 120190405 S204095
Vinayak Deshpande 120190183 S203049
Ritiket Dukare 120190409 S204097
Suyog Mahangade 120190437 S204104
Problem Statement
RAILWAY RESERVATION SYSTEM Software has to be developed for
automating the manual reservation system of railway. The system should be
standalone in nature. ... The system check the records from the database if it is
matched with the user entered details, then it cancels the tickets.

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.

The main purpose of maintaining database for Railway Reservation


System is to reduce the manual errors involved in the booking and cancelling of
tickets and make it convenient for the customers and providers to maintain the data
about their customers and also about the seats available at them.Due to automation
many loopholes that exist in the manual maintenance of the records can be
removed. The speed of obtaining and processing the data will be fast. For future
expansion the proposed system can be web enabled so that clients can make
various enquiries about trains between stations. Due to this, sometimes a lot of
problems occur and they are facing many disputes with customers.

Problem Statement : To solve the above problem, we design a data base


which includes customer details, availability of seats in trains, no of trains and their
details.
Chapter 2 : 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.

 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

• This schema has 3 entity types:

TRAINS

STATIONS

BOOKING

• There is an M:N relationship between TRAINS & STATIONS entity sets.

• There is a 1:1 relationship between TRACKS & STATIONS.

• There is a TWO 1:M relationship between BOOKING & STATIONS entity


sets.

• There is a 1:M relationship between BOOKING & TRAINS entity sets


• There is total participation for BOOKING from TRAINS & STATIONS
attribute.
• CREATION OF TABLES

create table train_details

train_id number(8) primary key,

train_name char(15),

total_seats number(3),

reserved_seats number(3)

);

TRAIN_DETAILS

TRAIN_ID TRAIN_NAME TOTAL_SEATS RESERVED_SETS


Int (Primary key) Varchar(15) Int Int

create table booking(

booking_id number(10) primary key not null,

seat_no number(2) not null,

travel_date char(10) not null,

passenger_name char(255) not null

);

BOOKING

BOOKING_I SEAT_N TRAVEL_DAT PASSANGER_NAM TRAIN_I


D O E E D
Booking id Int seat no Date trevel date Varchar(255) Int
(primary key) Foreign
key
create table stations(

s_id number(4) primary key not null,

s_loc char(255) not null

);

STATIONS

S_ID S_LOC TRAIN_ID BOOKING_ID


Station id(primary Station location Train id(foreign Booking id
key) key 1) (foreign key 2)

Chapter 4: Requirement Collection


Oracle 10g grid computing product group including (among other things) a
database management system (DBMS) and an application server.

The Eclipse Platform is designed for building integrated development


environments (IDEs), and arbitrary tools.

Visual Studio is an integrated development environment that is used to develop


computer programs for Windows. Testing of project has been done on virtual
studio.

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

 HTML: All the layout designing has been done on HTML


 CSS: We have used CSS for interfacing and desigining the pages
 JS: All the client side business has been developed in java
 MYSQL : We have used Mysql database
 PHP: Backend
Features Of Railway Management System Are As Follows:
 Provides the searching facilities based on various factors. Such as Booking,
Customers, Trains, Fare
 The transactions are executed in off-line mode, hence on-line data for
Booking, Stations capture and modification is not possible.
 It tracks all the information of Stations, Timetable, Trains ect
 Manage the information of Stations
 Shows the information and description of the Booking, Customers
 All the fields such as Booking, Customers, Fare are validated and does not
take invalid values
 It generates the report on Booking, Stations, Timetable
 Provide filter reports on Customers,Trains, Fare
 You can easily export PDF for the Booking, Timetable,Trains
 Application also provides excel export for Stations, Customers, Fare
 You can also export the report into csv format for Booking, Stations, Fare
 To increase efficiency of managing the Booking, Stations
 It deals with monitoring the information and transactions of Trains.
 Manage the information of Booking
 Editing, adding and updating of Records is improved which results in proper
resource management of Booking data.
 Manage the information of Trains
 Integration of all records of Fare.
Chapter 5 : Snapshots
Applications of Railway Management System

 People can easily book their train ticket from anywhere.


 People also delete their reservation of train
 People could know live roots of train
 They can keep tack of timings of train easily and from anywhere.

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.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy