SlideShare une entreprise Scribd logo
1  sur  32
Presentation
on
railway reservation
system
Presented By:
Priyanka Sharma
Meenu Mittal
Railway reservation system:
Introduction:
 This system is basically concerned with the
reservation of railway tickets to the passengers.
 In this we are discussing that how the reservation is
done.
 What are the rules and regulations and procedure
for reservation?
Cntd…
 In this project we are going to include all the entities
related to reservation.
 Employees
 Customers
 Stations
 Trains
 Forms
 Ticket
 Fare
 Class
 Time
Scope & Objectives:
 All the manual work should be converted into
computerized so that the load of employees should
decrease.
 The database should be stored in computer rather
than in register/manually.
Cntd…
 Easy to store information and fast accessing of
information.
 Centralized management reporting & decision
support.
 Accurate and timely control program.
 To make it easy for fast processing and
modification.
 List of accounts of all customers is available.
 Easy retrieval of accounts.
 To make the Railway system is interactive.
 Quick feed back.
Features:
1) Searching of data is easy
2) Passengers don’t have to wait for a long time.
3) Information is accurate
4) It is a fast process
5) Data efficiency is more
Limitations:
1) Data Redundancy
2) Difficulty in accessing the Data
Requirements:
1) Hardware Requirements:
 Processor : Pentium IV 2GHz and Above
 RAM : 1GB
 Monitor : VGA Color Monitor
2) Software Requirements:
 Operating System : Windows XP
onwards
 Developing Tool : VB (front end)
 Database : MS-ACCESS (back end)
Data flow diagram:
 The data flow diagram is a graphical
representation that depicts information flow and
the transforms that are applied as data moves
from input to output.
1) Context level or 0-level DFD
2) 1-level DFD
3) 2-Level DFD
Context level or 0-level DFD:
1-level DFD:
2-level DFD:
Logical Design:
1) EMPLOYEES: In this part we are covering that how the
employees are working in reservation section of railway.
In this all the details related to employee’s.
 Emp_name
 Emp_id
 Address
 Gender
 Phone no
 Date joined
 Salary
 Designation
 Duty _shift
1)Employee:
Attribute Data type Primary key Foreign key Constraints
Emp_name Char(10) Not null
Emp_id Number Pk Primary key
Address Varchar(50) Not null
Gender Char(10) ‘f’,’m’,‘F’,’M’
Phn_no Number(10) Not null
Date_ joined Date(8) Not null
Duty_shift Time(10) Not null
2)Customer:
In this part we are covering all the details related to
customer required for reservation.
• Customer_name
• Customer_id
• Address
• Age
• Gender
• Phone no
Customer:
Attribute Data type Primary key Foreign key Constraints
cust_name Char(10) Not null
cust_id Number(10) Pk Primary key
Ticket_num Number(50) Ticket(ticket_id) Not null
Gender Text(8) ‘f’,’m’,‘F’,’M’
Phn_no Number(10) Not null
Emp_id Number(8) Employee
(emp_id)
Not null
Form_id Number(10) Form(form_id) Not null
3)Ticket:
This is the part where we are covering the tickets detail. It
includes many attributes like id of tickets, class, fare,
source stations, destination station etc. Ticket can be
booked online as well as onsite.
• PNR_no
• Ticket_num
• Source and destination
• Class
• Fare
• Train_id
• Seat_id
Ticket:
Attribute Data type Primary key Foreign key Constraints
Ticket_num Number(10) Pk Primary key
P.N.R_No. Number Not null
Source Text Not null
Destination Text Not null
Class_id Number (10) Class(class_id) Foreign key
Fare Number(10) Not null
Train_id Number(8) Train(train_id) Not null
Seat_id Number (10) Not null
4) Station:
In this part we are covering the details of the station
ex; station name, number of trains passing or going
from that station or coming to that station. Number of
platforms, number of lines.
• Station_name
• No. Of lines
• Station_id
• No. Of platforms
Station:
Attribute Data type Primary key Foreign key Constraints
Stn_name Text(10) Not null
No_of_ lines Number (10) Not null
Stn_id Number(10) Pk Primary key
No_of _platform Number (10) Not null
5) Train:
•In this part we are covering all the details related to
the trains. We are covering train no, train name, no. of
passengers traveling through train, classes is train,
Route through which the train is going.
•The trains source and destination etc. what are the
different trains are going and coming at one station in
one day?
• Train_name
• Train_num
Train:
Attribute Data type Primary key Foreign key Constraints
Stn_id Number (10) Station(stn_id) Foreign key
Trn_name Text (10) Not null
Trn_id Number(10) Pk Primary key
Ticket_num Number (10) Ticket
(ticket_num)
Foreign key
6)Form:
•Forms are the most important part of reservation.
Forms are the source to know the details of the
customers.
•Form_name
•Form_id
Form:
Attribute Data type Primary key Foreign key Constraints
Form name Text(10) Not null
Form_id Number (10) Pk Primary key
cust_id Number (10) Customer
(cust_id)
Foreign key
7)Class:
•In this part we are covering the different types of
classes that is:
• 1st class
• 2nd class
• Sleeper class
• General class
So, the price depends upon the class the customer
selects. General class is the cheapest.
Class:
Attribute Data type Primary key Foreign key Constraints
Date Number(10) Not null
Trn_id Text Train(trn_id) Foreign key
No_of_seats Text Not null
Class_id Number (10) Pk Primary key
8)Fare
•Fare is the charges spent by the customer. Fare is
decided according to the train which is selected by the
customer.
•For example- We take the example of different trains
going from Ludhiana and their different charges/fare.
•Shtabadi
7:00am and 7:00pm
Chair car – Rs 450/ -
1st class – Rs 1099
Fare:
Attribute Data type Primary key Foreign key Constraints
Trn_id Number(10) Not null
Source Text (10) Not null
Destination Text (10) Not null
Class Text (10) Not null
Fare Text(10) Not null
Ticket_num Number(8) Ticket
(ticket_num)
Foreign key
Receipt_num Number (10) Pk Primary key
9)Time:
In this part all the details related to time are covered.
This includes:
•Departure time
•Train id
•Arrival time
Each train has different time. It can be in morning or
evening or night.
Time:
Attribute Data type Primary key Foreign key Constraints
Ref_no Number(10) Pk Primary key
Dep_time Date/time (8) Not null
Arrival_time Date/time (8) Not null
Train_id Number (10) Train(trn_id) Foreign key
Stn_id Number(10) Station(trn_id) Foreign key
E-R Diagram:

Contenu connexe

Tendances

Tendances (20)

Online Railway reservation
Online Railway reservationOnline Railway reservation
Online Railway reservation
 
Railway reservation system
Railway reservation systemRailway reservation system
Railway reservation system
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
 
online bus ticket booking system
online bus ticket booking systemonline bus ticket booking system
online bus ticket booking system
 
Railway Reservation System - Software Engineering
Railway Reservation System - Software EngineeringRailway Reservation System - Software Engineering
Railway Reservation System - Software Engineering
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
 
E-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATIONE-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATION
 
Online Movie ticket booking Project
Online Movie ticket booking ProjectOnline Movie ticket booking Project
Online Movie ticket booking Project
 
JUSTCABS - an Online Cab Reservation System (Final Year Project)
JUSTCABS - an Online Cab Reservation System (Final Year Project)JUSTCABS - an Online Cab Reservation System (Final Year Project)
JUSTCABS - an Online Cab Reservation System (Final Year Project)
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
 
Online Bus Reservatiom System
Online Bus Reservatiom SystemOnline Bus Reservatiom System
Online Bus Reservatiom System
 
Online movie ticket booking system
Online movie ticket booking systemOnline movie ticket booking system
Online movie ticket booking system
 
Passport Automation System
Passport Automation SystemPassport Automation System
Passport Automation System
 
tour management system
tour management systemtour management system
tour management system
 
railway reservation software documentaion
railway reservation software documentaionrailway reservation software documentaion
railway reservation software documentaion
 
Synopsis on railway reservation system
Synopsis on railway reservation systemSynopsis on railway reservation system
Synopsis on railway reservation system
 
Airline Reservation System Documentation
Airline Reservation System DocumentationAirline Reservation System Documentation
Airline Reservation System Documentation
 
Tourism and travelling management System
Tourism and travelling management SystemTourism and travelling management System
Tourism and travelling management System
 
Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement Engineering
 

En vedette

19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal
satyaragha786
 
Indian Railways Training on Coach Care Centre
Indian Railways Training on Coach Care CentreIndian Railways Training on Coach Care Centre
Indian Railways Training on Coach Care Centre
Rao Khola
 
coach care report railway
coach care report railwaycoach care report railway
coach care report railway
sharmalokesh47
 
Presentation railways
Presentation railwaysPresentation railways
Presentation railways
jags_champ
 
Development Framework & Methods
Development Framework & MethodsDevelopment Framework & Methods
Development Framework & Methods
Nay Lynn Aung
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
Mohit
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12
Self-employed
 

En vedette (19)

Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SADProject report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
 
Railway Reservation System
Railway Reservation SystemRailway Reservation System
Railway Reservation System
 
19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal
 
Synopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation SystemSynopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation System
 
Automated Train Ticket Validation and Verification System.
Automated Train Ticket Validation and Verification System.Automated Train Ticket Validation and Verification System.
Automated Train Ticket Validation and Verification System.
 
Indian Railways Training on Coach Care Centre
Indian Railways Training on Coach Care CentreIndian Railways Training on Coach Care Centre
Indian Railways Training on Coach Care Centre
 
coach care report railway
coach care report railwaycoach care report railway
coach care report railway
 
indian railways Presentation .
 indian railways Presentation . indian railways Presentation .
indian railways Presentation .
 
Presentation on indian railway
Presentation on indian railwayPresentation on indian railway
Presentation on indian railway
 
enhanced er diagram
enhanced er diagramenhanced er diagram
enhanced er diagram
 
Presentation railways
Presentation railwaysPresentation railways
Presentation railways
 
DFMA design for manufacturing and assembly
DFMA design for manufacturing and assembly DFMA design for manufacturing and assembly
DFMA design for manufacturing and assembly
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science Project
 
Airline reservation system db design
Airline reservation system db designAirline reservation system db design
Airline reservation system db design
 
DFM BIT Coursework
DFM BIT CourseworkDFM BIT Coursework
DFM BIT Coursework
 
Airline reservation system documentation
Airline reservation system documentationAirline reservation system documentation
Airline reservation system documentation
 
Development Framework & Methods
Development Framework & MethodsDevelopment Framework & Methods
Development Framework & Methods
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12
 

Similaire à Presentation on Railway Reservation System

Sahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdfSahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdf
HetUnadkat
 
Sterling Integrator Map Editor
Sterling Integrator Map EditorSterling Integrator Map Editor
Sterling Integrator Map Editor
Jeyhind M
 

Similaire à Presentation on Railway Reservation System (20)

Railway Management PPT.pptx
Railway Management PPT.pptxRailway Management PPT.pptx
Railway Management PPT.pptx
 
Sahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdfSahil Dhungel & Het Unadkat Data Mining.pdf
Sahil Dhungel & Het Unadkat Data Mining.pdf
 
Online Bus Reservation
Online Bus ReservationOnline Bus Reservation
Online Bus Reservation
 
Railway Reservation system
Railway Reservation systemRailway Reservation system
Railway Reservation system
 
202412343_Relational_Database_Presentation.pptx
202412343_Relational_Database_Presentation.pptx202412343_Relational_Database_Presentation.pptx
202412343_Relational_Database_Presentation.pptx
 
COMPUTER SCIENCE PROJECT OF RAILWAY RESERVATION SYSTEM PYTHON PROGRAMMING.pdf
COMPUTER SCIENCE PROJECT OF RAILWAY RESERVATION SYSTEM PYTHON PROGRAMMING.pdfCOMPUTER SCIENCE PROJECT OF RAILWAY RESERVATION SYSTEM PYTHON PROGRAMMING.pdf
COMPUTER SCIENCE PROJECT OF RAILWAY RESERVATION SYSTEM PYTHON PROGRAMMING.pdf
 
Railway Reservation system Case study of oracle db by cj date
Railway Reservation system Case study of oracle db by cj dateRailway Reservation system Case study of oracle db by cj date
Railway Reservation system Case study of oracle db by cj date
 
railway_PROJECT.doc on python my SQL connectivity
railway_PROJECT.doc on python my SQL connectivityrailway_PROJECT.doc on python my SQL connectivity
railway_PROJECT.doc on python my SQL connectivity
 
Report On Travel Cab Agency
Report On Travel Cab AgencyReport On Travel Cab Agency
Report On Travel Cab Agency
 
Transport Management
Transport ManagementTransport Management
Transport Management
 
Bus transportation query report
Bus transportation query reportBus transportation query report
Bus transportation query report
 
RAILWAY RESERVATION SYSTEM.pptx
RAILWAY RESERVATION SYSTEM.pptxRAILWAY RESERVATION SYSTEM.pptx
RAILWAY RESERVATION SYSTEM.pptx
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
Design Assignment ( Recreation of IRCTC Booking System in Andriod Platform)
Design Assignment ( Recreation of IRCTC Booking System in Andriod Platform)Design Assignment ( Recreation of IRCTC Booking System in Andriod Platform)
Design Assignment ( Recreation of IRCTC Booking System in Andriod Platform)
 
Sterling Integrator Map Editor
Sterling Integrator Map EditorSterling Integrator Map Editor
Sterling Integrator Map Editor
 
IBS Assessment 2 Case Study Project
IBS Assessment 2 Case Study ProjectIBS Assessment 2 Case Study Project
IBS Assessment 2 Case Study Project
 
Online Movie Ticket Booking
Online Movie Ticket BookingOnline Movie Ticket Booking
Online Movie Ticket Booking
 
Online_Car_Rental_System_A_Project_Prese.pdf
Online_Car_Rental_System_A_Project_Prese.pdfOnline_Car_Rental_System_A_Project_Prese.pdf
Online_Car_Rental_System_A_Project_Prese.pdf
 
IRJET- Mumbai Suburban Train Ticketing System
IRJET- Mumbai Suburban Train Ticketing SystemIRJET- Mumbai Suburban Train Ticketing System
IRJET- Mumbai Suburban Train Ticketing System
 
TAXI-GO (Taxi Booking System)
TAXI-GO (Taxi Booking System)TAXI-GO (Taxi Booking System)
TAXI-GO (Taxi Booking System)
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 

Dernier (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

Presentation on Railway Reservation System

  • 3. Introduction:  This system is basically concerned with the reservation of railway tickets to the passengers.  In this we are discussing that how the reservation is done.  What are the rules and regulations and procedure for reservation?
  • 4. Cntd…  In this project we are going to include all the entities related to reservation.  Employees  Customers  Stations  Trains  Forms  Ticket  Fare  Class  Time
  • 5. Scope & Objectives:  All the manual work should be converted into computerized so that the load of employees should decrease.  The database should be stored in computer rather than in register/manually.
  • 6. Cntd…  Easy to store information and fast accessing of information.  Centralized management reporting & decision support.  Accurate and timely control program.  To make it easy for fast processing and modification.  List of accounts of all customers is available.  Easy retrieval of accounts.  To make the Railway system is interactive.  Quick feed back.
  • 7. Features: 1) Searching of data is easy 2) Passengers don’t have to wait for a long time. 3) Information is accurate 4) It is a fast process 5) Data efficiency is more
  • 8. Limitations: 1) Data Redundancy 2) Difficulty in accessing the Data
  • 9. Requirements: 1) Hardware Requirements:  Processor : Pentium IV 2GHz and Above  RAM : 1GB  Monitor : VGA Color Monitor 2) Software Requirements:  Operating System : Windows XP onwards  Developing Tool : VB (front end)  Database : MS-ACCESS (back end)
  • 10. Data flow diagram:  The data flow diagram is a graphical representation that depicts information flow and the transforms that are applied as data moves from input to output. 1) Context level or 0-level DFD 2) 1-level DFD 3) 2-Level DFD
  • 11. Context level or 0-level DFD:
  • 14. Logical Design: 1) EMPLOYEES: In this part we are covering that how the employees are working in reservation section of railway. In this all the details related to employee’s.  Emp_name  Emp_id  Address  Gender  Phone no  Date joined  Salary  Designation  Duty _shift
  • 15. 1)Employee: Attribute Data type Primary key Foreign key Constraints Emp_name Char(10) Not null Emp_id Number Pk Primary key Address Varchar(50) Not null Gender Char(10) ‘f’,’m’,‘F’,’M’ Phn_no Number(10) Not null Date_ joined Date(8) Not null Duty_shift Time(10) Not null
  • 16. 2)Customer: In this part we are covering all the details related to customer required for reservation. • Customer_name • Customer_id • Address • Age • Gender • Phone no
  • 17. Customer: Attribute Data type Primary key Foreign key Constraints cust_name Char(10) Not null cust_id Number(10) Pk Primary key Ticket_num Number(50) Ticket(ticket_id) Not null Gender Text(8) ‘f’,’m’,‘F’,’M’ Phn_no Number(10) Not null Emp_id Number(8) Employee (emp_id) Not null Form_id Number(10) Form(form_id) Not null
  • 18. 3)Ticket: This is the part where we are covering the tickets detail. It includes many attributes like id of tickets, class, fare, source stations, destination station etc. Ticket can be booked online as well as onsite. • PNR_no • Ticket_num • Source and destination • Class • Fare • Train_id • Seat_id
  • 19. Ticket: Attribute Data type Primary key Foreign key Constraints Ticket_num Number(10) Pk Primary key P.N.R_No. Number Not null Source Text Not null Destination Text Not null Class_id Number (10) Class(class_id) Foreign key Fare Number(10) Not null Train_id Number(8) Train(train_id) Not null Seat_id Number (10) Not null
  • 20. 4) Station: In this part we are covering the details of the station ex; station name, number of trains passing or going from that station or coming to that station. Number of platforms, number of lines. • Station_name • No. Of lines • Station_id • No. Of platforms
  • 21. Station: Attribute Data type Primary key Foreign key Constraints Stn_name Text(10) Not null No_of_ lines Number (10) Not null Stn_id Number(10) Pk Primary key No_of _platform Number (10) Not null
  • 22. 5) Train: •In this part we are covering all the details related to the trains. We are covering train no, train name, no. of passengers traveling through train, classes is train, Route through which the train is going. •The trains source and destination etc. what are the different trains are going and coming at one station in one day? • Train_name • Train_num
  • 23. Train: Attribute Data type Primary key Foreign key Constraints Stn_id Number (10) Station(stn_id) Foreign key Trn_name Text (10) Not null Trn_id Number(10) Pk Primary key Ticket_num Number (10) Ticket (ticket_num) Foreign key
  • 24. 6)Form: •Forms are the most important part of reservation. Forms are the source to know the details of the customers. •Form_name •Form_id
  • 25. Form: Attribute Data type Primary key Foreign key Constraints Form name Text(10) Not null Form_id Number (10) Pk Primary key cust_id Number (10) Customer (cust_id) Foreign key
  • 26. 7)Class: •In this part we are covering the different types of classes that is: • 1st class • 2nd class • Sleeper class • General class So, the price depends upon the class the customer selects. General class is the cheapest.
  • 27. Class: Attribute Data type Primary key Foreign key Constraints Date Number(10) Not null Trn_id Text Train(trn_id) Foreign key No_of_seats Text Not null Class_id Number (10) Pk Primary key
  • 28. 8)Fare •Fare is the charges spent by the customer. Fare is decided according to the train which is selected by the customer. •For example- We take the example of different trains going from Ludhiana and their different charges/fare. •Shtabadi 7:00am and 7:00pm Chair car – Rs 450/ - 1st class – Rs 1099
  • 29. Fare: Attribute Data type Primary key Foreign key Constraints Trn_id Number(10) Not null Source Text (10) Not null Destination Text (10) Not null Class Text (10) Not null Fare Text(10) Not null Ticket_num Number(8) Ticket (ticket_num) Foreign key Receipt_num Number (10) Pk Primary key
  • 30. 9)Time: In this part all the details related to time are covered. This includes: •Departure time •Train id •Arrival time Each train has different time. It can be in morning or evening or night.
  • 31. Time: Attribute Data type Primary key Foreign key Constraints Ref_no Number(10) Pk Primary key Dep_time Date/time (8) Not null Arrival_time Date/time (8) Not null Train_id Number (10) Train(trn_id) Foreign key Stn_id Number(10) Station(trn_id) Foreign key