Download - Online Railway Reservation System
![Page 1: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/1.jpg)
ONLINE RAILWAY RESERVATION SYSTEM
SANJAY KUMAR
CSE/11/176D
![Page 2: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/2.jpg)
PROBLEM STATEMENT
Information about the route, cancellation of tickets, departure time, arrival time, number of trains available and other such information.Store and retrieve information about the various transactions related to Rail travel.Keep track of all its passengers and thus schedule their journey accordingly.Maintains records of passengers travelling in the different trains on different dates reaching different destinations in the system.User friendly interface to administrator and customer
![Page 3: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/3.jpg)
FUNCTIONS OF USER
Train Enquiry Book Ticket Payment Check PNR Status Cancel Ticket Login and Logout
![Page 4: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/4.jpg)
FUNCTIONS OF ADMIN
Add/Remove Trains Add/Remove User Book Ticket Cancel Ticket Get Passenger List Login and Logout
![Page 5: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/5.jpg)
Tables and Normalization
![Page 6: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/6.jpg)
username
password
first_name
last_name
age email Registration-date
username
password
first_name
last_name
age email Registration-date
Admin table
The above table consists of username as a primary key which determines all other attributes of it. There is no partial and transitive dependency so it is in 3NF.
The above table consists of username as a primary key which determines all other attributes of it. There is no partial and transitive dependency so it is in 3NF.
User table
![Page 7: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/7.jpg)
train_no train_name
source destination
distance
arrival_time
dep_time
Train table
Train number is the primary key of train table . It consists of atomic values of attributes and there is no partial and transitive dependency so it is in 3NF.
PNR
train_no
train_name
source
destination
distance
class
fare
arrival_time
departure_time
Name
date
seat_no
Ticket table
![Page 8: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/8.jpg)
train_no train_name
source destination
distance
arrival_time
dep_time
Train_details
train_no class fare
Fare table
1 NF – 3 NF conversion of Train table
![Page 9: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/9.jpg)
PNR train_no
name date seat_no
class fare
Ticket _details
PNR train_no
name date seat_no
class
Ticket1 table
PNR fare
Ticket2 table
![Page 10: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/10.jpg)
train_no
General
Sleeper
Ac I Ac II Ac III
Class_details
receipt_no
username
card_no pin_no bank type
Payement table
![Page 11: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/11.jpg)
TRIGGERS
If user has entered data in payment, send a trigger to change the value of paid field in ticket (initially set at zero).
Confirmation mail to be sent to the user on his email if he has cancelled the ticket or created an account.
When a new train is added to the train table the fare table should also be updated.
![Page 12: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/12.jpg)
Snapshots
![Page 13: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/13.jpg)
![Page 14: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/14.jpg)
![Page 15: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/15.jpg)
![Page 16: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/16.jpg)
![Page 17: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/17.jpg)
![Page 18: Online Railway Reservation System](https://reader034.vdocument.in/reader034/viewer/2022050618/54c726454a7959cf018b4651/html5/thumbnails/18.jpg)
THANK YOU