what is inventor2
DESCRIPTION
AirTRANSCRIPT
![Page 1: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/1.jpg)
Presentation On
Airline Management System
![Page 2: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/2.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/3.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/4.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/5.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/6.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/7.jpg)
![Page 8: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/8.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/9.jpg)
Conceptual View
Passenger_ id Number
Passenger_ name Text
Address Memo
Phone_no Number
Gender Text
![Page 10: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/12.jpg)
Entity
Passenger
Flight
Time
Fare
Ticket
Location
![Page 13: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/13.jpg)
Attributes
Characteristics of entities
Domain is set of possible values
Primary keys underlined
![Page 14: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/14.jpg)
Flight
Passenger
Flight Time
Relationship
Passenger
Booking
Boards
Makes
Arrival
![Page 15: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/15.jpg)
Flight Ticket
Fare
Flight Location
Passenger
Relationship
Pays
Reach
Has
![Page 16: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/16.jpg)
Example Of ER Model
![Page 17: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/17.jpg)
Generalization
![Page 18: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/18.jpg)
Student
Grad Student Post Grad Student
Specialization
![Page 19: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/19.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/20.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/21.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/22.jpg)
ER-Diagram
![Page 23: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/23.jpg)
Data Definition Language
Define the structure of a database.
Types of DDL commands
Create
Alter
Drop
Rename
![Page 24: What is inventor2](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/24.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/25.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/26.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/27.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070304/54c85ab84a795910408b45fa/html5/thumbnails/28.jpg)
Drop
The DROP TABLE statement is used to delete a table
Syntax
DROP TABLE table_name
DROP DATABASE database_name