SlideShare a Scribd company logo
1 of 2
Download to read offline
Entity Relationship in Airline Reservation System
                                                           Amruta Bhole#1
                                           rd
                               #B. Tech (3 Year), Department of Computer Science & Engineering
                B. P. Poddar Institute of Management and Technology, 137, VIP Road, Kolkata-700052
                                               1
                                                     { bhole_a@yahoo.co.in}


Abstract                                                              The relationship shown in Fig. 1 shows the relation between
This document gives a brief discussion on Entity Relationship in      an airport and airplane type. This shows that an airplane of a
Airline Reservation System, one of the representative application     particular type can land on a particular airport on the
of Database Management System which is used for reservations          scheduled day. Here, ‘airport’ and ‘airplane type’ are entity
and schedule information. Airlines were among the first to use        sets and the diamond ‘can land’ represents the relationship
databases in a geographically distributed manner-terminals            between them. An alternative ER notation for specifying
situated around the world accessed the central database system
                                                                      structural constraints involves associating a pair of integer
through phone lines and other data networks.                          numbers(min, max) with each participation of an entity type E
                                                                      in a relationship R, 0<=min<=max and max>=1. The numbers
Keyword : Entity Relationship diagram(E-R diagram), Database          mean that, for each entity e in E, e must participate in at least
Management System, SQL (Structured Query Language) , Airplane,        min and at most max relationship instances in R at all times.
Model.

                 I. INTRODUCTION
Over the course of last four decades of twentieth century, use
of databases grew in all enterprises. The internet revolution of
the late 1990s sharply increased direct user access to databases.
Organisations converted many of their phone interfaces to
databases into web interfaces, and made a variety of services
online. Therefore, it is very easy to book tickets and find other
information online related to airlines online.

               II. IMPLEMENTATION
The overall logical structure (schema) of a database can be
expressed graphically by an Entity-Relationship diagram(E-R
diagram) . An E-R diagram can express the overall logical
structure of a database graphically. They are simple and clear-
qualities that may well account in large part for the
widespread use of the E-R model. Such a diagram consists of
the following major components:
Rectangles, which       represent entity sets, Ellipses which
represent attributes. Diamonds which represent relationship
sets. Lines which link attributes to entity sets and entity sets to
relationship sets. Double ellipses which represent multi valued
attributes. Dashed ellipses which denote derived attributes.
Double lines which indicate total participation of an entity in a
relationship set. Double rectangles which represent weak                        Fig.2 An ER diagram for an Airline
entity sets.                                                                            Data base schema.
                                                                      (1) The database represents each Airport, keeping its unique
                                                                           Airport Code, the Airport Name, and the City and State in
    Airplane                Can Land                Airport                which the Airport is located.
                                                                      (2) Each airline flight has a unique number, the Airline for
                                                                           the flight, and the Weekdays on which the flight is
                                                                           scheduled (for example, every day of the week except
Fig. 1 Relationship of airport and airplane type                           Sunday can be coded as X7)
                                                                      (3) A flight is composed of one or more flight legs for
                                                                          example, flight number CO1223 from New York to Los
Angeles may have two flight legs, leg 1 from New York to         REFERENCES
    Houston and leg 2 from Houston to Los Angeles. Each
    flight leg has a leg number, Departure airport and                   [1] ‘Database System Concepts’, Mc Graw Hill
    Scheduled Departure Time, and an arrival airport and                 Publications, 4th Edition. by Silberschatz, Korth,
    Scheduled Arrival Time.                                              Sudarshan
(4) A leg instance is an instance of a flight leg on a specific          [2] ‘Fundamentals of Database Systems’, Addison-
    date (for example, CO1223 leg 1 on July 30, 1989). The               wesley publishing company by Ramez Elmasri, Shamkant
    actual departure and arrival airports and Times are                  B. Navathe.
    recorded for each flight leg after the flight leg has been
    concluded. The Number of available seats and the                 .
     airplane used in the leg instance are also kept.
(5) The customer reservations on each leg instance include
    the customer name, phone, and seat number(s) for each
    reservation.
(6) Information on Airplanes and Airplane Types are also
    kept. For each Airplane type (for example, DC-10), the
    Type Name, manufacturing company, and maximum
    number of seats are kept. The Airports in which planes of        .
    this type Can Land are kept in the database. For each
    Airplane, the Airplane Id, Total number of seats, and Type
    are kept.

                   III. APPLICATION
This kind of database is widely used in Airline Reservation
System where all the information related to. Flights,
reservations, customers can be kept without the fear of losing
it as Database Management Systems provide the facility of
Security and Recovery.

                    IV. CONCLUSION
With the help of Entity-Relationship diagram we can create
the required database and perform queries. For example in
case of Airline Reservation System we can make queries like
to find the schedule time of a flight, number of booked seats
in a flight, flight fares etc with the help of query language like
SQL Relational Algebra, Relational Calculus etc. We can
represent a database that conforms to an E-R database schema
by a collection of tables. For each entity set and for each
relationship set in database, there is a unique table to which
we can assign the name of the corresponding entity set and
relationship set. Each table has multiple columns, each of
which has a unique name. Both the E-R model and the
relational-database model are abstract, logical representations
of real-world enterprises. Because the two models employ
similar design principles, we can convert an E-R design into a
relational design. Converting a database representation from
an E-R diagram to a table format is the way we arrive at a
relational-database design from an E-R diagram. Informally, a
relation can be considered to be a table of values.

            ACKNOWLEDGMENT
I would like to thank Mr. Somnath Roy Choudhury, Dept. of
Computer Science and Engineering, B. P. Poddar Institute of
Management and Technology and all those who provided their
valuable guidance and constant support during this project.

More Related Content

Similar to Er2

22 Given the following logical relational model FLIGHT F.pdf
22 Given the following logical relational model  FLIGHT F.pdf22 Given the following logical relational model  FLIGHT F.pdf
22 Given the following logical relational model FLIGHT F.pdfsales80
 
FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...
FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...
FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...cscpconf
 
big data slides.pptx
big data slides.pptxbig data slides.pptx
big data slides.pptxBSwethaBindu
 
Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...
Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...
Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...IJECEIAES
 
Airport flight schedule System UML diagrams
Airport flight schedule System UML diagramsAirport flight schedule System UML diagrams
Airport flight schedule System UML diagramsuow
 
Flight trajectory recreation and playback system of aerial mission based on o...
Flight trajectory recreation and playback system of aerial mission based on o...Flight trajectory recreation and playback system of aerial mission based on o...
Flight trajectory recreation and playback system of aerial mission based on o...csandit
 
E-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATIONE-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATIONNandana Priyanka Eluri
 
Predict Price of Airline Tickets.pptx
Predict Price of Airline Tickets.pptxPredict Price of Airline Tickets.pptx
Predict Price of Airline Tickets.pptxAhmedeltookhy1
 
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
 
Safeguarding Abila through Multiple Data Perspectives
Safeguarding Abila through Multiple Data PerspectivesSafeguarding Abila through Multiple Data Perspectives
Safeguarding Abila through Multiple Data PerspectivesParang Saraf
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation SystemSahil Talwar
 

Similar to Er2 (20)

Proposed Algorithms for UAV based Cloud Computing
Proposed Algorithms for UAV based Cloud ComputingProposed Algorithms for UAV based Cloud Computing
Proposed Algorithms for UAV based Cloud Computing
 
22 Given the following logical relational model FLIGHT F.pdf
22 Given the following logical relational model  FLIGHT F.pdf22 Given the following logical relational model  FLIGHT F.pdf
22 Given the following logical relational model FLIGHT F.pdf
 
FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...
FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...
FLIGHT TRAJECTORY RECREATION AND PLAYBACK SYSTEM OF AERIAL MISSION BASED ON O...
 
big data slides.pptx
big data slides.pptxbig data slides.pptx
big data slides.pptx
 
Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...
Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...
Automation of Air Traffic Management Using Fuzzy Logic Algorithm to Integrate...
 
Airport flight schedule System UML diagrams
Airport flight schedule System UML diagramsAirport flight schedule System UML diagrams
Airport flight schedule System UML diagrams
 
ERD .pptx
ERD .pptxERD .pptx
ERD .pptx
 
Flight trajectory recreation and playback system of aerial mission based on o...
Flight trajectory recreation and playback system of aerial mission based on o...Flight trajectory recreation and playback system of aerial mission based on o...
Flight trajectory recreation and playback system of aerial mission based on o...
 
Efb
EfbEfb
Efb
 
E-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATIONE-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATION
 
Airborne internet
Airborne internetAirborne internet
Airborne internet
 
SADP-UNIT-VI.pdf
SADP-UNIT-VI.pdfSADP-UNIT-VI.pdf
SADP-UNIT-VI.pdf
 
Predict Price of Airline Tickets.pptx
Predict Price of Airline Tickets.pptxPredict Price of Airline Tickets.pptx
Predict Price of Airline Tickets.pptx
 
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
 
Presentation
PresentationPresentation
Presentation
 
Research_Paper_Pantelidis
Research_Paper_PantelidisResearch_Paper_Pantelidis
Research_Paper_Pantelidis
 
Safeguarding Abila through Multiple Data Perspectives
Safeguarding Abila through Multiple Data PerspectivesSafeguarding Abila through Multiple Data Perspectives
Safeguarding Abila through Multiple Data Perspectives
 
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation System
 
SGD 2016 - Systems explanation DEMO#1
SGD 2016 - Systems explanation DEMO#1SGD 2016 - Systems explanation DEMO#1
SGD 2016 - Systems explanation DEMO#1
 
Essence of Travel Technology
Essence of Travel TechnologyEssence of Travel Technology
Essence of Travel Technology
 

Recently uploaded

Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Tina Ji
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurSuhani Kapoor
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docxRodelinaLaud
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 

Recently uploaded (20)

Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docx
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 

Er2

  • 1. Entity Relationship in Airline Reservation System Amruta Bhole#1 rd #B. Tech (3 Year), Department of Computer Science & Engineering B. P. Poddar Institute of Management and Technology, 137, VIP Road, Kolkata-700052 1 { bhole_a@yahoo.co.in} Abstract The relationship shown in Fig. 1 shows the relation between This document gives a brief discussion on Entity Relationship in an airport and airplane type. This shows that an airplane of a Airline Reservation System, one of the representative application particular type can land on a particular airport on the of Database Management System which is used for reservations scheduled day. Here, ‘airport’ and ‘airplane type’ are entity and schedule information. Airlines were among the first to use sets and the diamond ‘can land’ represents the relationship databases in a geographically distributed manner-terminals between them. An alternative ER notation for specifying situated around the world accessed the central database system structural constraints involves associating a pair of integer through phone lines and other data networks. numbers(min, max) with each participation of an entity type E in a relationship R, 0<=min<=max and max>=1. The numbers Keyword : Entity Relationship diagram(E-R diagram), Database mean that, for each entity e in E, e must participate in at least Management System, SQL (Structured Query Language) , Airplane, min and at most max relationship instances in R at all times. Model. I. INTRODUCTION Over the course of last four decades of twentieth century, use of databases grew in all enterprises. The internet revolution of the late 1990s sharply increased direct user access to databases. Organisations converted many of their phone interfaces to databases into web interfaces, and made a variety of services online. Therefore, it is very easy to book tickets and find other information online related to airlines online. II. IMPLEMENTATION The overall logical structure (schema) of a database can be expressed graphically by an Entity-Relationship diagram(E-R diagram) . An E-R diagram can express the overall logical structure of a database graphically. They are simple and clear- qualities that may well account in large part for the widespread use of the E-R model. Such a diagram consists of the following major components: Rectangles, which represent entity sets, Ellipses which represent attributes. Diamonds which represent relationship sets. Lines which link attributes to entity sets and entity sets to relationship sets. Double ellipses which represent multi valued attributes. Dashed ellipses which denote derived attributes. Double lines which indicate total participation of an entity in a relationship set. Double rectangles which represent weak Fig.2 An ER diagram for an Airline entity sets. Data base schema. (1) The database represents each Airport, keeping its unique Airport Code, the Airport Name, and the City and State in Airplane Can Land Airport which the Airport is located. (2) Each airline flight has a unique number, the Airline for the flight, and the Weekdays on which the flight is scheduled (for example, every day of the week except Fig. 1 Relationship of airport and airplane type Sunday can be coded as X7) (3) A flight is composed of one or more flight legs for example, flight number CO1223 from New York to Los
  • 2. Angeles may have two flight legs, leg 1 from New York to REFERENCES Houston and leg 2 from Houston to Los Angeles. Each flight leg has a leg number, Departure airport and [1] ‘Database System Concepts’, Mc Graw Hill Scheduled Departure Time, and an arrival airport and Publications, 4th Edition. by Silberschatz, Korth, Scheduled Arrival Time. Sudarshan (4) A leg instance is an instance of a flight leg on a specific [2] ‘Fundamentals of Database Systems’, Addison- date (for example, CO1223 leg 1 on July 30, 1989). The wesley publishing company by Ramez Elmasri, Shamkant actual departure and arrival airports and Times are B. Navathe. recorded for each flight leg after the flight leg has been concluded. The Number of available seats and the . airplane used in the leg instance are also kept. (5) The customer reservations on each leg instance include the customer name, phone, and seat number(s) for each reservation. (6) Information on Airplanes and Airplane Types are also kept. For each Airplane type (for example, DC-10), the Type Name, manufacturing company, and maximum number of seats are kept. The Airports in which planes of . this type Can Land are kept in the database. For each Airplane, the Airplane Id, Total number of seats, and Type are kept. III. APPLICATION This kind of database is widely used in Airline Reservation System where all the information related to. Flights, reservations, customers can be kept without the fear of losing it as Database Management Systems provide the facility of Security and Recovery. IV. CONCLUSION With the help of Entity-Relationship diagram we can create the required database and perform queries. For example in case of Airline Reservation System we can make queries like to find the schedule time of a flight, number of booked seats in a flight, flight fares etc with the help of query language like SQL Relational Algebra, Relational Calculus etc. We can represent a database that conforms to an E-R database schema by a collection of tables. For each entity set and for each relationship set in database, there is a unique table to which we can assign the name of the corresponding entity set and relationship set. Each table has multiple columns, each of which has a unique name. Both the E-R model and the relational-database model are abstract, logical representations of real-world enterprises. Because the two models employ similar design principles, we can convert an E-R design into a relational design. Converting a database representation from an E-R diagram to a table format is the way we arrive at a relational-database design from an E-R diagram. Informally, a relation can be considered to be a table of values. ACKNOWLEDGMENT I would like to thank Mr. Somnath Roy Choudhury, Dept. of Computer Science and Engineering, B. P. Poddar Institute of Management and Technology and all those who provided their valuable guidance and constant support during this project.