Transcript
Presentation On
Airline Management System
Introduction
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
Types of Inventory
Raw materials
Purchased parts and supplies
Work-in-process (partially completed) products (WIP)
Items being transported
Tools and equipment
This document gives a brief discussion on Entity
Relationship in 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
Objectives of Airline Management
Maximize the level of customer service by
providing booking facility.
It is very easy to book tickets and find other
information online related to airlines online.
DBMS Architecture
It provides a frame work ,which is proposed as
standard by ANSI.
Three views are
1. External View
2. Conceptual View
3. Internal View
External View
Passenger_ id Passenger_name Phone_no
676 Harpreet Sidhu 9897685765
984 Simranjeet Singh 9878654332
Passenger_ id Passenger_name Address
676 Harpreet Sidhu Delhi
984 Simranjeet Singh Chandigarh
Conceptual View
Passenger_ id Number
Passenger_ name Text
Address Memo
Phone_no Number
Gender Text
Internal View
It is the view about the actual physical
storage of data .
This level describes ‘how’ the data will be
actually stored in the database.
This level serves as a base .
Entity Relationship Model
Entity – It is anything real or abstract about which we
want to store the data .
Relationship – It specifies the association that
exists between one or more entities.
Attribute – It is the characteristic which is common to
all or most instances of particular entity.
Entity
Passenger
Flight
Time
Fare
Ticket
Location
Attributes
Characteristics of entities
Domain is set of possible values
Primary keys underlined
Flight
Passenger
Flight Time
Relationship
Passenger
Booking
Boards
Makes
Arrival
Flight Ticket
Fare
Flight Location
Passenger
Relationship
Pays
Reach
Has
Example Of ER Model
Generalization
Student
Grad Student Post Grad Student
Specialization
Normalization
It is a process during which redundant relation
schemas are decomposed by breaking up their
attributes in to smaller relation schemas that
possess desirable properties.
1. First N/F
2. Second N/F
3. Third N/F
4. BNC N/F
Eliminate Repeating Groups
Second N/FFirst N/F
Third N/FBC N/F
Removing Partial key dependency
Eliminate Transitive key dependency
Eliminate Functional dependency
Normalization Form
SQL Commands
It is a simple and powerful language used to create ,access and
manipulate data and structure in the database .
SQL Statements categorize in to
1. Data Definition Language ( CREATE, DROP, ALTER )
2. Data Manipulation Language (INSERT INTO,UPDATE ,DELETE )
3. Transaction Control Language
4. Query Language ( SELECT)
ER-Diagram
Data Definition Language
Define the structure of a database.
Types of DDL commands
Create
Alter
Drop
Rename
Create Command
The CREATE TABLE statement is used to create a table in a database.
Syntax Example
CREATE TABLE table_name(column_name1 data_type,column_name2 data_type,column_name3 data_type,....) ;
CREATE TABLE Passenger
(
PassengerId number primary key,
PassengerName text(20),
Address varchar(50),
Phone _no number(10)) ;
INSERT Command
The INSERT INTO statement is used to insert a new
row in a table.
Syntax
INSERT INTO table_name
VALUES (value1, value2, value3,...)
INSERT INTO table_name (column1, column2, column3,...)
VALUES (value1, value2, value3,...)
OR
Example
INSERT INTO Passenger
VALUES (678,‘Harpreet Sidhu’, ‘Delhi', 9889765897);
OR
INSERT INTO Passenger (Passenger_Id, PassengerName)
VALUES (678, ‘Harpreet Sidhu');
Alter Command
Syntax
ALTER TABLE table_nameADD column_name datatype
Example
ALTER TABLE table_nameDROP COLUMN column_name
ALTER TABLE PassengerADD DateOfBirth date
ALTER TABLE PassengerDROP COLUMN DateOfBirth
Example
Drop
The DROP TABLE statement is used to delete a table
Syntax
DROP TABLE table_name
DROP DATABASE database_name
top related