SlideShare a Scribd company logo
1 of 19
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,




Contents
Introduction .................................................................................................................... 2
Current business activities ............................................................................................. 2
Business rules................................................................................................................. 3
Entities & their relevant attributes ................................................................................. 5
   Entity list .................................................................................................................... 5
   Entity structures with relevant attributes: .................................................................. 5
Primary Keys & Foreign Keys ....................................................................................... 9
Data Definition Language implementations: ............................................................... 10
Relationship between all entities ................................................................................. 15
Cardinality.................................................................................................................... 16
Final ER Diagram ........................................................................................................ 18
References .................................................................................................................... 19




                                                                                                                                   1
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



Introduction
Founded in 1996, Buddha Air is the largest airlines company of Nepal with greater
than 100,000 hours of flights, 3 million satisfied passengers from 9 different domestic
destinations. It has the highest capacity aircraft, all equipped with modern
technology stuffs ensuring quality & safe flying.

Buddha Air has several branches in different countries. Most branches are in Nepal
on many states. Its dedicated employees are keen to prove the quality service often
recommended by its customers. Buddha Air is well known for low airfare for both
way routes services across domestic customers.

Highly dedicated in customer services, Buddha Air offers several discount schemes
for children and people with disabilities. Buddha Air has won multiple awards for its
safety & reliability records of flying from national and international organizations.

Due to its high reliability, safety records and highly gained trusts from customers,
Buddha Air is having more transactions, causing day to day expanding business
activities hard to manage its operations. To ensure more flexible service for
customers, it’s highly recommended to implement and Airlines Reservation System, a
computerized system that will help manage all information related to flight,
passengers, their contact details, reservation, transactions, schedule publishing, air
fare payments etc.



Current business activities
Buddha Air is operating on spot airline reservation, flight booking services with help
of several travel agencies. It’s not only causing inconvenience for customers but also
raises the actual tariff that customer has to pay. Though having branches in multiple
cities targeting high range of customers, employee something fails to satisfy
customers in remote areas when they have to travel for reservation also when they
need to travel for cancellation or flight day extension. Followings are the key
operations of Buddha Air’s day to day business:

    1. Sales Transactions
       All sales transactions are related to flight ticket sales; advance reservations,
       reservation cancellations etc.

            a. Reservation
               Buddha Air provides flight pre-reservation to its customers. All
               customers are open to reserve flights to travel in future. Reservations
               are taken before 11 hour of flight. Pre-reservation insuring future sales
               forecast.



                                                                                       2
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,




            b. Cancellation
               No hard rules, as far as company does not have to lose anything. A
               customer is always can cancel their flights. Cancelled seats are
               released for re-sell instantly.
               Company denies canceling a sold ticket, if cancellation request is made
               within 6 hour of flight.

    2. Flight scheduling
       Day to day flight scheduling, new flight arrangements according to sales
       potentiality, flight departure delay decisions all takes rooms in its daily flight
       scheduling activities etc.

    3. Ticketing
       On spot ticket sales, online reservation sales, urgent sales, VVIP ticketing is
       done in its several branches, authorized agents from different travel agencies.



Business rules
Quality services to customers aren’t possible with defined business principles.
Buddha Air has several business rules that apply from its own staffs to third party
sales agents and potential customers. For each, business rules are as per listed below:

    1. Customers
             They are welcome to those from different flight schedules those are
             available throughout a day depending upon their comfort, willingness
             and flexibility and of course upon flight availability.
             All customers are required to submit valid contact details.
             All customers must reserve a flight to travel. No on the gate sales are
             available. Also customers can’t buy tickets at airports, instead they
             need to visit online store or a sales counter to get a ticket or reserve for
             future plans.
             Full payments are necessary in-order to confirm a booking. Yes, there
             can be several discounts schemes which can be claimed by customers
             & is given upon proper alignment with discount descriptions.
             Customers must be penalized for cancellation. How much charges
             they have to pay, depends when they are canceling the flights. If it’s
             before 11 hour of flight they need to pay 10% of sales and if it’s within
             11 hour of flight – 33.33% will be deducted from actual sales amount.
             Customers can demand the cancellation & 100% refund of flight is
             cancelled due to technical reason, bad weather.



                                                                                        3
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



                All customers are allowed up to 5 KG cargo free with each ticket.
                Exceeding 5 KG causes the additional fees.
                Each customer is eligible for $20,000 life insurance.
                Wheel chairs & oxygen is available for special passengers.

    2. Employees (including sales agents)
             All employees must be dressed according to company dress code with
             an ID card, easily visible to guests.
             Employees are expected to be presence on their seat within duty hours.
             All employees are assigned to serve client based on first come first
             services. Yes- there is a provision for special cure for urgent &
             national security matters.
             Employees are hereby responsible for serving customers first, second
             their own jobs.
             Employees are not allowed to take flight reservations within 11 hour of
             flight.




                                                                                   4
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,




Database Design for Airline Reservation

Entities & their relevant attributes
Entity list
    1. AirCrafts
    2. Route
    3. AirFare
    4. Flight_Schedule
    5. Discounts
    6. Charges
    7. Countries
    8. State
    9. Contact_Details
    10. Passengers
    11. Branches
    12. Employee
    13. Transactions

Entity structures with relevant attributes:
AirCrafts
 Field               DataType        Description                       Constraints
                                     Field will store unique row
  AcID               INT                                               Primary Key
                                     number.
                                     Aircraft number that identifies
  AcNumber           Varchar(32)                                       NOT ULL
                                     the plane.
  Capacity           INT             No. of seats available.           NOT NULL
  MfdBy              Varchar(128)    Manufacturing company.            NOT NULL
  MfdOn              DATETIME        Manufactured date of aircraft.    NOT NULL

Route
 Field               Data Type       Description                       Constraints
  RtID               INT             Stores unique row id.             Primary Key
                                     From where the flight will
  Airport            Varchar(32)                                       NOT NULL
                                     take off.
  Destination        Varchar (32)    Flight destinations.              NOT NULL
                                     A unique Route code
                                                                       NOT NULL
  RouteCode          Varchar(16)     generated using Source &
                                                                       UNIQUE
                                     Destination of flight.

AirFare
 Field               Data Type       Description                       Constraints
  AfID               INT             Stores unique row id.             Primary Key

                                                                                     5
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,




  Route              INT             Route id from Route table.       Foreign Key
  Fare               Currency        Stores service charge amount.    NOT NULL
  FSC                Currency        Stores fuel surcharge amount.    NOT NULL

Flight_Schedule
  Field         Data Type            Description                      Constraints
                                     Unique number to identify the
  FlID               INT                                              Primary Key
                                     flight.
  FlightDate         DATETIME        Date of flight.                  NOT NULL
                                     Stores the departure time of
  Departure          DATETIME
                                     flight.
                                     Stores the arrival time of
  Arrival            DATETIME
                                     flight on destination.
                                     Aircraft number that will fly,
  AirCraft           INT                                              Foreign Key
                                     a number from Aircraft table.
                                     To determine total fare of
  NetFare            INT             flight, an ID from Air_Fare      Foreign Key
                                     table.


Discounts
 Field               Data Type       Description                      Constraints
  DiID               INT             Unique row id.                   Primary Key
  Title              Varchar(32)     Label to know discount.          NOT NULL
  Amount             INT             Discount amount in %             NOT NULL
  Description        Varchar(255)    Discount remarks & details.


Charges
 Field               Data Type       Description                      Constraints
  ChID               INT             Unique row id.                   Primary Key
  Title              Varchar(32)     Label for charge.                NOT NULL
  Amount             INT             Amount of charge in %.           NOT NULL
  Description        Varchar(255)    Describe cause of charge.


Countries
 Field                Data Type       Description                      Constraints
  CtID                INT             Unique row id.                   Primary Key
  CountryName Varchar(32)             Room to store country name       NOT NULL




                                                                                     6
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,




State
  Field              Data Type       Description                      Constraints
  StID               INT             Unique row id.                   Primary Key
                                     State name will take place
  StateName          Varchar(32)
                                     here.
  Country            INT             PK from Country table.           Foreign Key

Contact_Details
 Field          Data Type            Description                      Constraints
  CnID               INT             Unique row id.                   Primary Key
                                     Passenger’s contact email for
  Email              Varchar(16)                                      NOT NULL
                                     transaction about flights.
                                     Passenger’s contact cell no
  Cell               Varchar(16)                                      NOT NULL
                                     for transaction about flights.
                                     Passenger’s contact telephone
  Tel                Varchar(16)     no. for transaction about
                                     flights.
                                     Street address of the
  Street             Varchar(64)                                      NOT NULL
                                     passengers.
  State              INT             PK from State table.             Foreign Key


Passengers
  Field              Data Type       Description                      Constraints
  PsID               INT             Unique row id.                   Primary Key
  Name               Varchar(32)     Passenger’s name                 NOT NULL
  Address            Varchar (64)    Passenger’s address              NOT NULL
  Age                INT             Passenger’s age                  NOT NULL
  Nationalities Varchar (16)         Nationality of the passenger.    NOT NULL
                                     ContactID from
  Contacts           INT                                              Foreign Key
                                     Contact_Details table.

Branches
 Field               Data Type       Description                      Constraints
  BrID               INT             Unique id for each branches      Primary Key
  Center             Varchar(16)     Branch Title                     NOT NULL
  Address            Varchar(32)     Address of the branch            NOT NULL
  State              INT             State ID from state table        Foreign Key

Employees
 Field               Data Type       Description                      Constraints


                                                                                    7
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



                                     Unique number to identity
  EmpID              INT             employee, unique on entire        Primary Key
                                     system.
  Name               Varchar(32)     Employee name                     NOT NULL
  Address            Varchar(32)     Employee address                  NOT NULL
                                     Associated branch id from
  Branch             INT                                               Foreign Key
                                     Branch Table
  Designation        Varchar(32)     Working duty position.            NOT NULL
                                     Contact email of the
  Email              Varchar(32)                                       NOT NULL
                                     employee
  Tel                Varchar(16)     Contact telephone number.
                                     Ext number of employee
  Ext                INT
                                     cabinet, if applicable.

Transactions
  Field               Data Type      Description                        Constraints
  TsID                INT            Unique row id                      Primary Key
  BookingDate         Date/Time      Keeps the booking date.            NOT NULL
  DepartureDate Date/Time            Keeps the departure date.          NOT NULL
                                     Transaction creator passengers
                                     row id to associate
  Passenger           INT                                               Foreign Key
                                     booking/cancellation,
                                     payments etc.
                                     Flight no, a PK of
  Flight              INT            Flight_Schedule to determine       Foreign Key
                                     flying details & costs.
  Type                BIT            Reservation/Cancellation           NOT NULL
                                     Reservation agent, a row id of
  Employee            INT            employee who helps the             Foreign Key
                                     passenger to make transaction.
                                     If transaction is cancellation,
  Charges             INT            charges may apply as per           Foreign Key
                                     business rules.
                                     Discount offers may apply
  Discount            INT                                               Foreign Key
                                     based on scheme criteria.
                                     Calculated value of actual
  Total               INT            payable cost by customer to        NOT NULL
                                     make a transaction.




                                                                                      8
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



Primary Keys & Foreign Keys
  SN                                                      Foreign Keys
        Table                   Primary Key
                                              Column          References
   1    AirCraft                AcID          -               -
                                              AirCraft        AirCraft.AcID
   2    Flight_Schedule         FlID          Route           Route.RtID
                                              AirFare         AirFare.AfID
   3    Route                   RtID          -               -
   4    AirFare                 AfID          Route           Route.RtID
   5    Discounts               DiID          -               -
   6    Charges                 ChID          -               -
   7    Passengers              PsID          Contacts        Contact_Details.CnID
   8    Contact_Details         CnID          State           State.StID
   9    State                   StID          Country         Country.CtID
  10    Country                 CtID          -               -
                                              Passenger       Passengers.PsID
                                              Flight          Flight_Schedule.FlID
  11    Transaction             TsID          Employee        Employee.EmpID
                                              Charge          Charges.ChID
                                              Discount        Discounts.DiID
  12    Employee                EmpID         Branch          Branch.BrID
  13    Branch                  BrID




                                                                                 9
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



Data Definition Language implementations:
/* 0. Create Database & use it */
CREATE DATABASE BuddhAirBase;

USE BuddhaAirBase;


/* 1. Create AirCrafts table*/
CREATE TABLE AirCrafts(
        AcID INT Primary Key,
        AcNumber Varchar(32) NOT NULL,
        Capacity INT NOT NULL,
        MfdBy Varchar(128) NOT NULL,
        MfdOn Datetime NOT NULL
);

/* 1.1 Insert data into AirCrafts table*/
INSERT INTO AirCrafts
(AcID, AcNumber, Capacity, MfdBy, MfdOn)
VALUES
(1, "ATR 72-500", 75, "Alenia Aeronotica", "23 April 1998");


/* 2. Create Route table*/
CREATE TABLE Route(
        RtID INT,
        Airport Varchar(32) NOT NULL,
        Destination Varchar(32) NOT NULL,
        RouteCode Varchar(16) NOT NULL UNIQUE,
        PRIMARY KEY (RtID)
);


/* 2.1 Insert data into Route table*/
INSERT INTO Route
Values (1, "Kathmandu", "Pokhara", "KTM-PKR");

/* 3. Create AirFare table*/
CREATE TABLE AirFare(
        AfID INT,
        Route INT,
        Fare Currency,
        FSC Currency,
        PRIMARY KEY (AfID),
        CONSTRAINT fk_Route FOREIGN KEY (Route) REFERENCES
Route(RtID)
);

/* 3.1. Insert DATA into AirFare table*/

                                                               10
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



INSERT INTO AirFare
VALUES
(1, 1, 86, 12);

/* 4. Create Flight_Schedule table */
CREATE TABLE Flight_Schedule(
        FlID INT,
        FlightDate DATETIME,
        Departure DATETIME,
        Arrival DATETIME,
        AirCraft INT,
        NetFare INT,
        PRIMARY KEY (FlID),
        CONSTRAINT fk_AirCraft FOREIGN KEY (AirCraft) REFERENCES
AirCrafts(AcID),
        CONSTRAINT fk_NetFare FOREIGN KEY (NetFare) REFERENCES
AirFare(AfID)
);

/* 4.1 Insert DATA into Flight_Schedule */
INSERT INTO Flight_Schedule
VALUES
(1, 'January 23, 2012', '23:20', '1:20', 1, 1);


/* 5. Create Discounts table */
CREATE TABLE Discounts(
        DiID INT PRIMARY KEY,
        Title Varchar(32),
        Amount INT,
        Description Varchar (255)
)

/* 5.1 Insert data into Discounts table */
INSERT INTO Discounts
VALUES
(1,'Childrens', 10, 'Discount is provide all childrens under age of 10.');

/* 6. Create Charges table */
CREATE TABLE Charges(
        ChID INT PRIMARY KEY,
        Title Varchar(32),
        Amount INT,
        Description Varchar (255)
)

/* 6.1 Insert data into Charges table */
INSERT INTO Charges
VALUES

                                                                             11
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



(2,'Urgent Cancellation', 33.33, '33.3% will be charged for cancellation for booking
within 11 hrs from flight time');
/* 7. Crate Country table*/
CREATE TABLE Countries (
        CtID INT PRIMARY KEY,
        CountryName Varchar (32) NOT NULL
);

/* 7.1 Insert data into Country table */
INSERT INTO Countries
VALUES
(1, 'Nepal');

/* 8. Create State table*/
CREATE TABLE State(
        StID INT,
        StateName Varchar (32),
        Country INT,
        PRIMARY KEY (StID),
        CONSTRAINT fk_Country FOREIGN KEY (Country) REFERENCES
Countries(CtID)
);

/* 8.1. Insert data into State table*/
INSERT INTO State
VALUES
(1, 'Bagmati', 1);

/* 9. Create Contact_Details table*/
CREATE TABLE Contact_Details(
        CnID INT PRIMARY KEY,
        Email Varchar (16) NOT NULL,
        Cell Varchar (16) NOT NULL,
        Tel Varchar (16),
        Street Varchar (64),
        State INT NOT NULL,
        CONSTRAINT fk_State FOREIGN KEY (State) REFERENCES State(StID)
);

/* 9.1 Insert data into Contact_Details */
INSERT INTO Contact_Details
VALUES
(1,'hello@shekhardesigner.com', '9851121824', '01-4215384', 'Gandaki Marga', 1);


/* 10. Create Passengers table */
CREATE TABLE Passengers(
        PsID INT PRIMARY KEY,
        Name Varchar (32) NOT NULL,

                                                                                       12
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



       Address Varchar (64) NOT NULL,
       Age INT NOT NULL,
       Nationality Varchar(16) NOT NULL,
       Contacts INT NOT NULL,
       CONSTRAINT fk_Contacts FOREIGN KEY (Contacts) REFERENCES
Contact_Details(CnID)
);

/* 10.1 Insert data into Passengers table */
INSERT INTO Passengers
VALUES
(1,'Shekhar Kumar Sharma', 'Sinamanga-39, KTM', 23, 'Nepalese', 1);

/* 11. Create Branch table */
CREATE TABLE Branches(
        BrID INT PRIMARY KEY,
        Center Varchar(16) NOT NULL,
        Address Varchar(32) NOT NULL,
        State INT,
        CONSTRAINT fk_StateOfEmployee FOREIGN KEY (State) REFERENCES
State(StID)
);

/* 11.1 Insert data into branches table */
INSERT INTO Branches
VALUES
(1, 'Kathmandu', 'New Road, Kathmandu', 1);

/* 12. Create Employee table */
CREATE TABLE Employee
(
        EmpID INT PRIMARY KEY,
        Name Varchar (32) NOT NULL,
        Address Varchar (32) NOT NULL,
        Branch INT NOT NULL,
        Designation Varchar(32) NOT NULL,
        Email Varchar (16) NOT NULL,
        Tel Varchar (16) NOT NULL,
        Ext INT,
        CONSTRAINT fk_Branch FOREIGN KEY (Branch) REFERENCES
Branches(BrID)
);

/* 12.1 Insert data into Employee table */
INSERT INTO Employee
VALUES
(1, 'Diwan Adhikari', 'Bagbazaar - 11, KTM', 1, 'Sales Executive',
'the.one@yahoo.com', '01-4215254', 12);


                                                                      13
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



/* 13. Create table Transactions */
CREATE TABLE Transactions(
        TsID INT PRIMARY KEY,
        BookingDate DATETIME,
        DepartureDate DATETIME,
        Passenger INT,
        Flight INT,
        Type BIT,
        Employee INT,
        Charges INT,
        Discount INT,
        CONSTRAINT fk_Passenger FOREIGN KEY (Passenger) REFERENCES
Passengers(PsID),
        CONSTRAINT fk_Flight FOREIGN KEY (Flight) REFERENCES
Flight_Schedule(FlID),
        CONSTRAINT fk_Employee FOREIGN KEY (Employee) REFERENCES
Employee(EmpID),
        CONSTRAINT fk_Charges FOREIGN KEY (Charges) REFERENCES
Charges(ChID),
        CONSTRAINT fk_Discount FOREIGN KEY (Discount) REFERENCES
Discounts(DiID)
);


/* 13.1 Insert data into Transactions */
INSERT INTO Transactions
VALUES
(1,'12 November 2011', '21 December 2011', 1, 1, 0, 1, NULL, NULL);




                                                                      14
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,




Relationship between all entities




                                     15
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



Cardinality
Cardinality notations, using Chen style.
M = many, N = 0, 1, 2 …

  SN     Entities                          Cardinality
  1.     AirCrafts & Flight_Schedule       1:M
  2.     Route & AirFare                   1:1
  3.     AirFare & Flight_Schedule         1;M
  4.     Discounts & Transactions          N:1
  5.     Charges & Transactions            N:1
  6.     Countries & State                 1:M
  7.     State & Branches                  1:M
  8.     Contact_Details & State           M:1
  9.     Passengers & Contact_Details      1:1
  10     Passengers & Transactions         1:1
  11.    Branches & Employee               1:M
  12.    Employees & Transactions          1:M
  13.    Transactions & Flight_Schedule    M:1




                                                         16
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



Cardinality diagram (Information engineering style notations)




                                                                17
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,




Final ER Diagram




                                     18
1801T3100155, Shekhar Kumar Sharma
CDB101 Assignment,



References
    1. Ramez Elmasri and Shamkant B. Navathe , ‘Fundamentals of Database
       Systems’ Addison Wesley Publishing Company

    2. Allan Leake, (2000), Definition of Database
       http://searchsqlserver.techtarget.com/definition/database

    3. SmartDraw (2011), Resources – Tutorials
       http://www.smartdraw.com/resources/tutorials

    4. BuddhaAir, Nepal (2011) – Company History
       http://www.buddhaair.com/company/history.php




                                                                           19

More Related Content

What's hot

Online Airline Ticket reservation System
Online Airline Ticket reservation SystemOnline Airline Ticket reservation System
Online Airline Ticket reservation Systemsathyakawthar
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation SystemSahil Talwar
 
Railway Reservation System - Software Engineering
Railway Reservation System - Software EngineeringRailway Reservation System - Software Engineering
Railway Reservation System - Software EngineeringLalit Pal
 
Airline reservation system 1
Airline reservation system 1Airline reservation system 1
Airline reservation system 1_faisalkhan
 
Airline reservation system project report (1)
Airline reservation system project report (1)Airline reservation system project report (1)
Airline reservation system project report (1)MostafaMorsyMohamed
 
SRS on airline reservation system
SRS on airline reservation system SRS on airline reservation system
SRS on airline reservation system VikasSingh958
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation SystemArohi Khandelwal
 
Air Line Management System | DBMS project
Air Line Management System | DBMS projectAir Line Management System | DBMS project
Air Line Management System | DBMS projectAniketHandore
 
Airline Management System [for presentation]
Airline Management System [for presentation]Airline Management System [for presentation]
Airline Management System [for presentation]SH Rajøn
 
Railway reservation system
Railway reservation systemRailway reservation system
Railway reservation systemKOYELMAJUMDAR1
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation systemkhushi kalaria
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation systemUnsa Jawaid
 
Airline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachAirline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachOnkar Kadam
 
[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntationSyed Muhammad Zeejah Hashmi
 
SRS for Library Management System
SRS for Library Management SystemSRS for Library Management System
SRS for Library Management SystemToseef Hasan
 
Online Bus ticket reservation
Online Bus ticket reservationOnline Bus ticket reservation
Online Bus ticket reservationSmit Patel
 
Airline Reservation Software Requirement Specification
Airline Reservation Software Requirement SpecificationAirline Reservation Software Requirement Specification
Airline Reservation Software Requirement SpecificationDeborah Kronk
 
Online Airway Reservation System
Online Airway Reservation SystemOnline Airway Reservation System
Online Airway Reservation SystemHari Wiz
 
Air ticket reservation system presentation
Air ticket reservation system presentation Air ticket reservation system presentation
Air ticket reservation system presentation Smit Patel
 

What's hot (20)

Online Airline Ticket reservation System
Online Airline Ticket reservation SystemOnline Airline Ticket reservation System
Online Airline Ticket reservation System
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation System
 
Railway Reservation System - Software Engineering
Railway Reservation System - Software EngineeringRailway Reservation System - Software Engineering
Railway Reservation System - Software Engineering
 
Airline reservation system 1
Airline reservation system 1Airline reservation system 1
Airline reservation system 1
 
Airline reservation system project report (1)
Airline reservation system project report (1)Airline reservation system project report (1)
Airline reservation system project report (1)
 
SRS on airline reservation system
SRS on airline reservation system SRS on airline reservation system
SRS on airline reservation system
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation System
 
Air Line Management System | DBMS project
Air Line Management System | DBMS projectAir Line Management System | DBMS project
Air Line Management System | DBMS project
 
Airline Management System [for presentation]
Airline Management System [for presentation]Airline Management System [for presentation]
Airline Management System [for presentation]
 
Railway reservation system
Railway reservation systemRailway reservation system
Railway reservation system
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation system
 
Airline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering ApproachAirline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Model Driven Software Engineering Approach
 
[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation[Airline Information System] in Database Project presntation
[Airline Information System] in Database Project presntation
 
SRS for Library Management System
SRS for Library Management SystemSRS for Library Management System
SRS for Library Management System
 
Online Bus ticket reservation
Online Bus ticket reservationOnline Bus ticket reservation
Online Bus ticket reservation
 
Airline Reservation Software Requirement Specification
Airline Reservation Software Requirement SpecificationAirline Reservation Software Requirement Specification
Airline Reservation Software Requirement Specification
 
Online Airway Reservation System
Online Airway Reservation SystemOnline Airway Reservation System
Online Airway Reservation System
 
Air ticket reservation system presentation
Air ticket reservation system presentation Air ticket reservation system presentation
Air ticket reservation system presentation
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
 

Viewers also liked

Project of Airline booking system
Project of Airline booking systemProject of Airline booking system
Project of Airline booking systemmuthahar.sk
 
Virtualization technology and an application of building vm ware
Virtualization technology and an application of building vm wareVirtualization technology and an application of building vm ware
Virtualization technology and an application of building vm wareYeditepe University
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology OverviewOpenCity Community
 
Database Project Airport management System
Database Project Airport management SystemDatabase Project Airport management System
Database Project Airport management SystemFahad Chishti
 
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NFDatabase Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NFOum Saokosal
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagramTech_MX
 
Introduction to airline reservation systems
Introduction to airline reservation systemsIntroduction to airline reservation systems
Introduction to airline reservation systemsJava and .NET Architect
 

Viewers also liked (10)

Project of Airline booking system
Project of Airline booking systemProject of Airline booking system
Project of Airline booking system
 
Virtualization technology and an application of building vm ware
Virtualization technology and an application of building vm wareVirtualization technology and an application of building vm ware
Virtualization technology and an application of building vm ware
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology Overview
 
Database Project Airport management System
Database Project Airport management SystemDatabase Project Airport management System
Database Project Airport management System
 
Dbms project list
Dbms project listDbms project list
Dbms project list
 
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NFDatabase Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
 
Dbms Project
Dbms ProjectDbms Project
Dbms Project
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
Introduction to airline reservation systems
Introduction to airline reservation systemsIntroduction to airline reservation systems
Introduction to airline reservation systems
 

Similar to Airlines Database Design

Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docxCharles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docxchristinemaritza
 
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.com
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.comsimple airline database project..By Amarulla khan, :- amarullakhan8@gmail.com
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.comhk2208820
 
Ai 0542 20210411_boarding_pass
Ai 0542 20210411_boarding_passAi 0542 20210411_boarding_pass
Ai 0542 20210411_boarding_passL.Ranjith kumar
 
Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxAKHIL969626
 
Information Technology In Airlines Arunesh Chand Mankotia
Information Technology In Airlines   Arunesh Chand MankotiaInformation Technology In Airlines   Arunesh Chand Mankotia
Information Technology In Airlines Arunesh Chand MankotiaConsultonmic
 
Delta Airlines Flight Cancellation Policy
Delta Airlines Flight Cancellation PolicyDelta Airlines Flight Cancellation Policy
Delta Airlines Flight Cancellation PolicyAirlines Ticket Policy
 
Principles of airline and airport management
Principles of airline and airport managementPrinciples of airline and airport management
Principles of airline and airport managementJetline Marvel
 
Online flight booking srs document
Online flight booking srs documentOnline flight booking srs document
Online flight booking srs documentmanthankdesai
 
Air India Flight Change Policy | Airlines Ticket Policy
Air India Flight Change Policy | Airlines Ticket Policy Air India Flight Change Policy | Airlines Ticket Policy
Air India Flight Change Policy | Airlines Ticket Policy Airlines Ticket Policy
 
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTMLAirline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTMLDeepankar Sandhibigraha
 
Chandigarh Airport Advertising
Chandigarh Airport AdvertisingChandigarh Airport Advertising
Chandigarh Airport AdvertisingBrand Promoters
 
AIRLINE PRESENTATION.ppt
AIRLINE PRESENTATION.pptAIRLINE PRESENTATION.ppt
AIRLINE PRESENTATION.pptPAVANguests
 
Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)ISAH BABAYO
 
Air Charter Air Ambulance air taxi ppt.pptx
Air Charter Air Ambulance air taxi ppt.pptxAir Charter Air Ambulance air taxi ppt.pptx
Air Charter Air Ambulance air taxi ppt.pptxSunil kumar
 
fff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
fff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwfff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
fff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwKrishna kumar
 
Airline Ticket Reservation Management System in SQL
Airline Ticket Reservation Management System in SQLAirline Ticket Reservation Management System in SQL
Airline Ticket Reservation Management System in SQLMuhammadZahid277
 

Similar to Airlines Database Design (20)

Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docxCharles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
 
bang tkt
bang tktbang tkt
bang tkt
 
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.com
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.comsimple airline database project..By Amarulla khan, :- amarullakhan8@gmail.com
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.com
 
Ai 0542 20210411_boarding_pass
Ai 0542 20210411_boarding_passAi 0542 20210411_boarding_pass
Ai 0542 20210411_boarding_pass
 
Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docx
 
05_IS&BA assignment.pdf
05_IS&BA assignment.pdf05_IS&BA assignment.pdf
05_IS&BA assignment.pdf
 
Information Technology In Airlines Arunesh Chand Mankotia
Information Technology In Airlines   Arunesh Chand MankotiaInformation Technology In Airlines   Arunesh Chand Mankotia
Information Technology In Airlines Arunesh Chand Mankotia
 
Rout
RoutRout
Rout
 
Delta Airlines Flight Cancellation Policy
Delta Airlines Flight Cancellation PolicyDelta Airlines Flight Cancellation Policy
Delta Airlines Flight Cancellation Policy
 
Principles of airline and airport management
Principles of airline and airport managementPrinciples of airline and airport management
Principles of airline and airport management
 
Online flight booking srs document
Online flight booking srs documentOnline flight booking srs document
Online flight booking srs document
 
Air India Flight Change Policy | Airlines Ticket Policy
Air India Flight Change Policy | Airlines Ticket Policy Air India Flight Change Policy | Airlines Ticket Policy
Air India Flight Change Policy | Airlines Ticket Policy
 
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTMLAirline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
 
Reservation form
Reservation formReservation form
Reservation form
 
Chandigarh Airport Advertising
Chandigarh Airport AdvertisingChandigarh Airport Advertising
Chandigarh Airport Advertising
 
AIRLINE PRESENTATION.ppt
AIRLINE PRESENTATION.pptAIRLINE PRESENTATION.ppt
AIRLINE PRESENTATION.ppt
 
Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)
 
Air Charter Air Ambulance air taxi ppt.pptx
Air Charter Air Ambulance air taxi ppt.pptxAir Charter Air Ambulance air taxi ppt.pptx
Air Charter Air Ambulance air taxi ppt.pptx
 
fff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
fff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwfff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
fff.pdfafewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
 
Airline Ticket Reservation Management System in SQL
Airline Ticket Reservation Management System in SQLAirline Ticket Reservation Management System in SQL
Airline Ticket Reservation Management System in SQL
 

Recently uploaded

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
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...christianmathematics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
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 GraphThiyagu K
 

Recently uploaded (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.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...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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
 

Airlines Database Design

  • 1. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Contents Introduction .................................................................................................................... 2 Current business activities ............................................................................................. 2 Business rules................................................................................................................. 3 Entities & their relevant attributes ................................................................................. 5 Entity list .................................................................................................................... 5 Entity structures with relevant attributes: .................................................................. 5 Primary Keys & Foreign Keys ....................................................................................... 9 Data Definition Language implementations: ............................................................... 10 Relationship between all entities ................................................................................. 15 Cardinality.................................................................................................................... 16 Final ER Diagram ........................................................................................................ 18 References .................................................................................................................... 19 1
  • 2. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Introduction Founded in 1996, Buddha Air is the largest airlines company of Nepal with greater than 100,000 hours of flights, 3 million satisfied passengers from 9 different domestic destinations. It has the highest capacity aircraft, all equipped with modern technology stuffs ensuring quality & safe flying. Buddha Air has several branches in different countries. Most branches are in Nepal on many states. Its dedicated employees are keen to prove the quality service often recommended by its customers. Buddha Air is well known for low airfare for both way routes services across domestic customers. Highly dedicated in customer services, Buddha Air offers several discount schemes for children and people with disabilities. Buddha Air has won multiple awards for its safety & reliability records of flying from national and international organizations. Due to its high reliability, safety records and highly gained trusts from customers, Buddha Air is having more transactions, causing day to day expanding business activities hard to manage its operations. To ensure more flexible service for customers, it’s highly recommended to implement and Airlines Reservation System, a computerized system that will help manage all information related to flight, passengers, their contact details, reservation, transactions, schedule publishing, air fare payments etc. Current business activities Buddha Air is operating on spot airline reservation, flight booking services with help of several travel agencies. It’s not only causing inconvenience for customers but also raises the actual tariff that customer has to pay. Though having branches in multiple cities targeting high range of customers, employee something fails to satisfy customers in remote areas when they have to travel for reservation also when they need to travel for cancellation or flight day extension. Followings are the key operations of Buddha Air’s day to day business: 1. Sales Transactions All sales transactions are related to flight ticket sales; advance reservations, reservation cancellations etc. a. Reservation Buddha Air provides flight pre-reservation to its customers. All customers are open to reserve flights to travel in future. Reservations are taken before 11 hour of flight. Pre-reservation insuring future sales forecast. 2
  • 3. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, b. Cancellation No hard rules, as far as company does not have to lose anything. A customer is always can cancel their flights. Cancelled seats are released for re-sell instantly. Company denies canceling a sold ticket, if cancellation request is made within 6 hour of flight. 2. Flight scheduling Day to day flight scheduling, new flight arrangements according to sales potentiality, flight departure delay decisions all takes rooms in its daily flight scheduling activities etc. 3. Ticketing On spot ticket sales, online reservation sales, urgent sales, VVIP ticketing is done in its several branches, authorized agents from different travel agencies. Business rules Quality services to customers aren’t possible with defined business principles. Buddha Air has several business rules that apply from its own staffs to third party sales agents and potential customers. For each, business rules are as per listed below: 1. Customers They are welcome to those from different flight schedules those are available throughout a day depending upon their comfort, willingness and flexibility and of course upon flight availability. All customers are required to submit valid contact details. All customers must reserve a flight to travel. No on the gate sales are available. Also customers can’t buy tickets at airports, instead they need to visit online store or a sales counter to get a ticket or reserve for future plans. Full payments are necessary in-order to confirm a booking. Yes, there can be several discounts schemes which can be claimed by customers & is given upon proper alignment with discount descriptions. Customers must be penalized for cancellation. How much charges they have to pay, depends when they are canceling the flights. If it’s before 11 hour of flight they need to pay 10% of sales and if it’s within 11 hour of flight – 33.33% will be deducted from actual sales amount. Customers can demand the cancellation & 100% refund of flight is cancelled due to technical reason, bad weather. 3
  • 4. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, All customers are allowed up to 5 KG cargo free with each ticket. Exceeding 5 KG causes the additional fees. Each customer is eligible for $20,000 life insurance. Wheel chairs & oxygen is available for special passengers. 2. Employees (including sales agents) All employees must be dressed according to company dress code with an ID card, easily visible to guests. Employees are expected to be presence on their seat within duty hours. All employees are assigned to serve client based on first come first services. Yes- there is a provision for special cure for urgent & national security matters. Employees are hereby responsible for serving customers first, second their own jobs. Employees are not allowed to take flight reservations within 11 hour of flight. 4
  • 5. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Database Design for Airline Reservation Entities & their relevant attributes Entity list 1. AirCrafts 2. Route 3. AirFare 4. Flight_Schedule 5. Discounts 6. Charges 7. Countries 8. State 9. Contact_Details 10. Passengers 11. Branches 12. Employee 13. Transactions Entity structures with relevant attributes: AirCrafts Field DataType Description Constraints Field will store unique row AcID INT Primary Key number. Aircraft number that identifies AcNumber Varchar(32) NOT ULL the plane. Capacity INT No. of seats available. NOT NULL MfdBy Varchar(128) Manufacturing company. NOT NULL MfdOn DATETIME Manufactured date of aircraft. NOT NULL Route Field Data Type Description Constraints RtID INT Stores unique row id. Primary Key From where the flight will Airport Varchar(32) NOT NULL take off. Destination Varchar (32) Flight destinations. NOT NULL A unique Route code NOT NULL RouteCode Varchar(16) generated using Source & UNIQUE Destination of flight. AirFare Field Data Type Description Constraints AfID INT Stores unique row id. Primary Key 5
  • 6. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Route INT Route id from Route table. Foreign Key Fare Currency Stores service charge amount. NOT NULL FSC Currency Stores fuel surcharge amount. NOT NULL Flight_Schedule Field Data Type Description Constraints Unique number to identify the FlID INT Primary Key flight. FlightDate DATETIME Date of flight. NOT NULL Stores the departure time of Departure DATETIME flight. Stores the arrival time of Arrival DATETIME flight on destination. Aircraft number that will fly, AirCraft INT Foreign Key a number from Aircraft table. To determine total fare of NetFare INT flight, an ID from Air_Fare Foreign Key table. Discounts Field Data Type Description Constraints DiID INT Unique row id. Primary Key Title Varchar(32) Label to know discount. NOT NULL Amount INT Discount amount in % NOT NULL Description Varchar(255) Discount remarks & details. Charges Field Data Type Description Constraints ChID INT Unique row id. Primary Key Title Varchar(32) Label for charge. NOT NULL Amount INT Amount of charge in %. NOT NULL Description Varchar(255) Describe cause of charge. Countries Field Data Type Description Constraints CtID INT Unique row id. Primary Key CountryName Varchar(32) Room to store country name NOT NULL 6
  • 7. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, State Field Data Type Description Constraints StID INT Unique row id. Primary Key State name will take place StateName Varchar(32) here. Country INT PK from Country table. Foreign Key Contact_Details Field Data Type Description Constraints CnID INT Unique row id. Primary Key Passenger’s contact email for Email Varchar(16) NOT NULL transaction about flights. Passenger’s contact cell no Cell Varchar(16) NOT NULL for transaction about flights. Passenger’s contact telephone Tel Varchar(16) no. for transaction about flights. Street address of the Street Varchar(64) NOT NULL passengers. State INT PK from State table. Foreign Key Passengers Field Data Type Description Constraints PsID INT Unique row id. Primary Key Name Varchar(32) Passenger’s name NOT NULL Address Varchar (64) Passenger’s address NOT NULL Age INT Passenger’s age NOT NULL Nationalities Varchar (16) Nationality of the passenger. NOT NULL ContactID from Contacts INT Foreign Key Contact_Details table. Branches Field Data Type Description Constraints BrID INT Unique id for each branches Primary Key Center Varchar(16) Branch Title NOT NULL Address Varchar(32) Address of the branch NOT NULL State INT State ID from state table Foreign Key Employees Field Data Type Description Constraints 7
  • 8. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Unique number to identity EmpID INT employee, unique on entire Primary Key system. Name Varchar(32) Employee name NOT NULL Address Varchar(32) Employee address NOT NULL Associated branch id from Branch INT Foreign Key Branch Table Designation Varchar(32) Working duty position. NOT NULL Contact email of the Email Varchar(32) NOT NULL employee Tel Varchar(16) Contact telephone number. Ext number of employee Ext INT cabinet, if applicable. Transactions Field Data Type Description Constraints TsID INT Unique row id Primary Key BookingDate Date/Time Keeps the booking date. NOT NULL DepartureDate Date/Time Keeps the departure date. NOT NULL Transaction creator passengers row id to associate Passenger INT Foreign Key booking/cancellation, payments etc. Flight no, a PK of Flight INT Flight_Schedule to determine Foreign Key flying details & costs. Type BIT Reservation/Cancellation NOT NULL Reservation agent, a row id of Employee INT employee who helps the Foreign Key passenger to make transaction. If transaction is cancellation, Charges INT charges may apply as per Foreign Key business rules. Discount offers may apply Discount INT Foreign Key based on scheme criteria. Calculated value of actual Total INT payable cost by customer to NOT NULL make a transaction. 8
  • 9. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Primary Keys & Foreign Keys SN Foreign Keys Table Primary Key Column References 1 AirCraft AcID - - AirCraft AirCraft.AcID 2 Flight_Schedule FlID Route Route.RtID AirFare AirFare.AfID 3 Route RtID - - 4 AirFare AfID Route Route.RtID 5 Discounts DiID - - 6 Charges ChID - - 7 Passengers PsID Contacts Contact_Details.CnID 8 Contact_Details CnID State State.StID 9 State StID Country Country.CtID 10 Country CtID - - Passenger Passengers.PsID Flight Flight_Schedule.FlID 11 Transaction TsID Employee Employee.EmpID Charge Charges.ChID Discount Discounts.DiID 12 Employee EmpID Branch Branch.BrID 13 Branch BrID 9
  • 10. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Data Definition Language implementations: /* 0. Create Database & use it */ CREATE DATABASE BuddhAirBase; USE BuddhaAirBase; /* 1. Create AirCrafts table*/ CREATE TABLE AirCrafts( AcID INT Primary Key, AcNumber Varchar(32) NOT NULL, Capacity INT NOT NULL, MfdBy Varchar(128) NOT NULL, MfdOn Datetime NOT NULL ); /* 1.1 Insert data into AirCrafts table*/ INSERT INTO AirCrafts (AcID, AcNumber, Capacity, MfdBy, MfdOn) VALUES (1, "ATR 72-500", 75, "Alenia Aeronotica", "23 April 1998"); /* 2. Create Route table*/ CREATE TABLE Route( RtID INT, Airport Varchar(32) NOT NULL, Destination Varchar(32) NOT NULL, RouteCode Varchar(16) NOT NULL UNIQUE, PRIMARY KEY (RtID) ); /* 2.1 Insert data into Route table*/ INSERT INTO Route Values (1, "Kathmandu", "Pokhara", "KTM-PKR"); /* 3. Create AirFare table*/ CREATE TABLE AirFare( AfID INT, Route INT, Fare Currency, FSC Currency, PRIMARY KEY (AfID), CONSTRAINT fk_Route FOREIGN KEY (Route) REFERENCES Route(RtID) ); /* 3.1. Insert DATA into AirFare table*/ 10
  • 11. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, INSERT INTO AirFare VALUES (1, 1, 86, 12); /* 4. Create Flight_Schedule table */ CREATE TABLE Flight_Schedule( FlID INT, FlightDate DATETIME, Departure DATETIME, Arrival DATETIME, AirCraft INT, NetFare INT, PRIMARY KEY (FlID), CONSTRAINT fk_AirCraft FOREIGN KEY (AirCraft) REFERENCES AirCrafts(AcID), CONSTRAINT fk_NetFare FOREIGN KEY (NetFare) REFERENCES AirFare(AfID) ); /* 4.1 Insert DATA into Flight_Schedule */ INSERT INTO Flight_Schedule VALUES (1, 'January 23, 2012', '23:20', '1:20', 1, 1); /* 5. Create Discounts table */ CREATE TABLE Discounts( DiID INT PRIMARY KEY, Title Varchar(32), Amount INT, Description Varchar (255) ) /* 5.1 Insert data into Discounts table */ INSERT INTO Discounts VALUES (1,'Childrens', 10, 'Discount is provide all childrens under age of 10.'); /* 6. Create Charges table */ CREATE TABLE Charges( ChID INT PRIMARY KEY, Title Varchar(32), Amount INT, Description Varchar (255) ) /* 6.1 Insert data into Charges table */ INSERT INTO Charges VALUES 11
  • 12. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, (2,'Urgent Cancellation', 33.33, '33.3% will be charged for cancellation for booking within 11 hrs from flight time'); /* 7. Crate Country table*/ CREATE TABLE Countries ( CtID INT PRIMARY KEY, CountryName Varchar (32) NOT NULL ); /* 7.1 Insert data into Country table */ INSERT INTO Countries VALUES (1, 'Nepal'); /* 8. Create State table*/ CREATE TABLE State( StID INT, StateName Varchar (32), Country INT, PRIMARY KEY (StID), CONSTRAINT fk_Country FOREIGN KEY (Country) REFERENCES Countries(CtID) ); /* 8.1. Insert data into State table*/ INSERT INTO State VALUES (1, 'Bagmati', 1); /* 9. Create Contact_Details table*/ CREATE TABLE Contact_Details( CnID INT PRIMARY KEY, Email Varchar (16) NOT NULL, Cell Varchar (16) NOT NULL, Tel Varchar (16), Street Varchar (64), State INT NOT NULL, CONSTRAINT fk_State FOREIGN KEY (State) REFERENCES State(StID) ); /* 9.1 Insert data into Contact_Details */ INSERT INTO Contact_Details VALUES (1,'hello@shekhardesigner.com', '9851121824', '01-4215384', 'Gandaki Marga', 1); /* 10. Create Passengers table */ CREATE TABLE Passengers( PsID INT PRIMARY KEY, Name Varchar (32) NOT NULL, 12
  • 13. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Address Varchar (64) NOT NULL, Age INT NOT NULL, Nationality Varchar(16) NOT NULL, Contacts INT NOT NULL, CONSTRAINT fk_Contacts FOREIGN KEY (Contacts) REFERENCES Contact_Details(CnID) ); /* 10.1 Insert data into Passengers table */ INSERT INTO Passengers VALUES (1,'Shekhar Kumar Sharma', 'Sinamanga-39, KTM', 23, 'Nepalese', 1); /* 11. Create Branch table */ CREATE TABLE Branches( BrID INT PRIMARY KEY, Center Varchar(16) NOT NULL, Address Varchar(32) NOT NULL, State INT, CONSTRAINT fk_StateOfEmployee FOREIGN KEY (State) REFERENCES State(StID) ); /* 11.1 Insert data into branches table */ INSERT INTO Branches VALUES (1, 'Kathmandu', 'New Road, Kathmandu', 1); /* 12. Create Employee table */ CREATE TABLE Employee ( EmpID INT PRIMARY KEY, Name Varchar (32) NOT NULL, Address Varchar (32) NOT NULL, Branch INT NOT NULL, Designation Varchar(32) NOT NULL, Email Varchar (16) NOT NULL, Tel Varchar (16) NOT NULL, Ext INT, CONSTRAINT fk_Branch FOREIGN KEY (Branch) REFERENCES Branches(BrID) ); /* 12.1 Insert data into Employee table */ INSERT INTO Employee VALUES (1, 'Diwan Adhikari', 'Bagbazaar - 11, KTM', 1, 'Sales Executive', 'the.one@yahoo.com', '01-4215254', 12); 13
  • 14. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, /* 13. Create table Transactions */ CREATE TABLE Transactions( TsID INT PRIMARY KEY, BookingDate DATETIME, DepartureDate DATETIME, Passenger INT, Flight INT, Type BIT, Employee INT, Charges INT, Discount INT, CONSTRAINT fk_Passenger FOREIGN KEY (Passenger) REFERENCES Passengers(PsID), CONSTRAINT fk_Flight FOREIGN KEY (Flight) REFERENCES Flight_Schedule(FlID), CONSTRAINT fk_Employee FOREIGN KEY (Employee) REFERENCES Employee(EmpID), CONSTRAINT fk_Charges FOREIGN KEY (Charges) REFERENCES Charges(ChID), CONSTRAINT fk_Discount FOREIGN KEY (Discount) REFERENCES Discounts(DiID) ); /* 13.1 Insert data into Transactions */ INSERT INTO Transactions VALUES (1,'12 November 2011', '21 December 2011', 1, 1, 0, 1, NULL, NULL); 14
  • 15. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Relationship between all entities 15
  • 16. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Cardinality Cardinality notations, using Chen style. M = many, N = 0, 1, 2 … SN Entities Cardinality 1. AirCrafts & Flight_Schedule 1:M 2. Route & AirFare 1:1 3. AirFare & Flight_Schedule 1;M 4. Discounts & Transactions N:1 5. Charges & Transactions N:1 6. Countries & State 1:M 7. State & Branches 1:M 8. Contact_Details & State M:1 9. Passengers & Contact_Details 1:1 10 Passengers & Transactions 1:1 11. Branches & Employee 1:M 12. Employees & Transactions 1:M 13. Transactions & Flight_Schedule M:1 16
  • 17. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Cardinality diagram (Information engineering style notations) 17
  • 18. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, Final ER Diagram 18
  • 19. 1801T3100155, Shekhar Kumar Sharma CDB101 Assignment, References 1. Ramez Elmasri and Shamkant B. Navathe , ‘Fundamentals of Database Systems’ Addison Wesley Publishing Company 2. Allan Leake, (2000), Definition of Database http://searchsqlserver.techtarget.com/definition/database 3. SmartDraw (2011), Resources – Tutorials http://www.smartdraw.com/resources/tutorials 4. BuddhaAir, Nepal (2011) – Company History http://www.buddhaair.com/company/history.php 19