Introduction The internet revolution of the late 1990s sharply increased directuser access to databases. Organisations converted many of their phone interfaces todatabases into web interfaces, and made a variety of servicesonline. Therefore, it is very easy to book tickets and find otherinformation 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 EntityRelationship in Airline Reservation System, one ofthe representative applicationparticular type can land on a particular airport on theof Database Management System which is used forreservations scheduled day
Objectives of Airline Management Maximize the level of customer service byproviding booking facility. It is very easy to book tickets and find otherinformation online related to airlines online.
DBMS Architecture It provides a frame work ,which is proposed asstandard by ANSI. Three views are1. External View2. Conceptual View3. Internal View
External ViewPassenger_ id Passenger_name Phone_no676 Harpreet Sidhu 9897685765984 Simranjeet Singh 9878654332Passenger_ id Passenger_name Address676 Harpreet Sidhu Delhi984 Simranjeet Singh Chandigarh
Conceptual ViewPassenger_ id NumberPassenger_ name TextAddress MemoPhone_no NumberGender Text
Internal View It is the view about the actual physicalstorage of data . This level describes ‘how’ the data will beactually stored in the database. This level serves as a base .
Entity Relationship Model Entity – It is anything real or abstract about which wewant to store the data . Relationship – It specifies the association thatexists between one or more entities. Attribute – It is the characteristic which is common toall or most instances of particular entity.
StudentGrad Student Post Grad StudentSpecialization
Normalization It is a process during which redundant relationschemas are decomposed by breaking up theirattributes in to smaller relation schemas thatpossess desirable properties.1. First N/F2. Second N/F3. Third N/F4. BNC N/F
EliminateRepeatingGroupsSecond N/FFirst N/FThird N/FBC N/FRemovingPartial keydependencyEliminateTransitivekeydependencyEliminateFunctionaldependencyNormalization Form
SQL Commands It is a simple and powerful language used to create ,access andmanipulate data and structure in the database . SQL Statements categorize in to1. Data Definition Language ( CREATE, DROP, ALTER )2. Data Manipulation Language (INSERT INTO,UPDATE ,DELETE )3. Transaction Control Language4. Query Language ( SELECT)
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 atable 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 CommandThe INSERT INTO statement is used to insert a newrow in a table.SyntaxINSERT INTO table_nameVALUES (value1, value2, value3,...)INSERT INTO table_name (column1, column2, column3,...)VALUES (value1, value2, value3,...)OR
ExampleINSERT INTO PassengerVALUES (678,‘Harpreet Sidhu’, ‘Delhi, 9889765897);ORINSERT INTO Passenger (Passenger_Id, PassengerName)VALUES (678, ‘Harpreet Sidhu);