Top Banner
Presentation On Airline Management System
28
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: What is inventor2

Presentation On

Airline Management System

Page 2: What is inventor2

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

Page 3: What is inventor2

Types of Inventory

Raw materials

Purchased parts and supplies

Work-in-process (partially completed) products (WIP)

Items being transported

Tools and equipment

Page 4: What is inventor2

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

Page 5: What is inventor2

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.

Page 6: What is inventor2

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

Page 7: What is inventor2
Page 8: What is inventor2

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

Page 9: What is inventor2

Conceptual View

Passenger_ id Number

Passenger_ name Text

Address Memo

Phone_no Number

Gender Text

Page 10: What is inventor2

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 .

Page 11: What is inventor2

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.

Page 12: What is inventor2

Entity

Passenger

Flight

Time

Fare

Ticket

Location

Page 13: What is inventor2

Attributes

Characteristics of entities

Domain is set of possible values

Primary keys underlined

Page 14: What is inventor2

Flight

Passenger

Flight Time

Relationship

Passenger

Booking

Boards

Makes

Arrival

Page 15: What is inventor2

Flight Ticket

Fare

Flight Location

Passenger

Relationship

Pays

Reach

Has

Page 16: What is inventor2

Example Of ER Model

Page 17: What is inventor2

Generalization

Page 18: What is inventor2

Student

Grad Student Post Grad Student

Specialization

Page 19: What is inventor2

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

Page 20: What is inventor2

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

Page 21: What is inventor2

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)

Page 22: What is inventor2

ER-Diagram

Page 23: What is inventor2

Data Definition Language

Define the structure of a database.

Types of DDL commands

Create

Alter

Drop

Rename

Page 24: What is inventor2

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)) ;

Page 25: What is inventor2

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

Page 26: What is inventor2

Example

INSERT INTO Passenger

VALUES (678,‘Harpreet Sidhu’, ‘Delhi', 9889765897);

OR

INSERT INTO Passenger (Passenger_Id, PassengerName)

VALUES (678, ‘Harpreet Sidhu');

Page 27: What is inventor2

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

Page 28: What is inventor2

Drop

The DROP TABLE statement is used to delete a table

Syntax

DROP TABLE table_name

DROP DATABASE database_name