0% found this document useful (0 votes)
415 views12 pages

Airport Management System: Presentaion On

This presentation discusses airport management systems and includes the following key points: 1. It defines what a database is and provides examples of common types of data stored in databases. 2. It compares MySQL and Oracle databases, highlighting differences in licensing, usage, supported features, and languages. 3. An ER diagram is presented and explained that models the relationships between entities like airports, airlines, flights, passengers, tickets, and employees. 4. The data is normalized through three forms to reduce redundancy and ensure data integrity. 5. Triggers are demonstrated as a way to automatically validate data, such as checking that a seat is available before it is booked. Methods for creating, disabling, and

Uploaded by

Suman Lenka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
415 views12 pages

Airport Management System: Presentaion On

This presentation discusses airport management systems and includes the following key points: 1. It defines what a database is and provides examples of common types of data stored in databases. 2. It compares MySQL and Oracle databases, highlighting differences in licensing, usage, supported features, and languages. 3. An ER diagram is presented and explained that models the relationships between entities like airports, airlines, flights, passengers, tickets, and employees. 4. The data is normalized through three forms to reduce redundancy and ensure data integrity. 5. Triggers are demonstrated as a way to automatically validate data, such as checking that a seat is available before it is booked. Methods for creating, disabling, and

Uploaded by

Suman Lenka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Presentaion on

Airport Management
System
By
Vaibhav Sonawane (09)
Asmita Rathod (10)
Hiral Mali (11)
Swikar Patil (12)
What is a Database?

 A database is information that is set up for easy access,


management and updating. Computer databases
typically store aggregations of data records or files that
contain information, such as sales transactions, customer
data, financials and product information.
My Sql vs Oracle

1. MySQL is free and open-source. Oracle is licensed for commercial


purposes, but it provides the express edition for free.
2. MySQL database is used for small and big businesses. Oracle
database is used for very large scale deployments.
3. MySQL supports the null value, but Oracle does not support the null
value.
4. MySQL support only SQL language. Oracle supports both SQL and
PL/SQL languages.
ER diagram
Explanation On ER diagram

 AIRPORT:- In Airport entity, there is one primary key and one composite key. Airport name is a
primary key and country is a composite key which is composited of another attribute i.e City and
State.
 AIRLINE:- In Airline entity, there are two attributes in these Airline_id is a primary key and other
attribute is Airline_name.
 EMPLOYEE:- In Employee entity, there are three types of attributes are used first is key attribute
i.e employee_id, second one is derived attribute i.e. Age and third one is multivalued attribute which
contain multiple values of phone number.
 FLIGHT:- In this entity there is flight number is a primary key and duration is a derived attribute
which is derived from another attribute.
 PASSENGER:- In this entity passport number is a primary key, age is derived attribute and phone
number is multivalued attribute which holds multiple values.Other attributes are Name, Address,
Sex and Date of Birth.
 TICKETS:- This entity contains various attributes such as Ticket number which is primary key,
Airline name, Price, Duration which is derived attribute, seat no, class, etc.
Table

1st Normal Form

Airport_Name City State Country Airline_Id Airline_Name Employee_Id Name Dob

Age Salary Designation Sex Phone_number Address Flight_Number Source

Ticket_Number Seat_number Class Source

Destination Connected Arrival_Time Depature_Time Duration Status Passport_Number


Table

2nd Normal Form


Table 1: Airport_Name City State Country

Table 2: Age Salary Designation Sex Phone_number Address

Employee_Id Name Dob

Table 3: Passport_Numb Name Address Sex DOB Phone_Number Age


er

Table 4: Flight_Number Source Destination Arrival_time Depature_Time

Duration Status
Table
Table 5: Ticket_Number Airline_Name Price Seat_No Class Depature_Time

Arrival_Time Duration Destination Source

Table 6: Airline_Id Airline_Name


Table
3rd Normal Form
Table 1: Employee_Id Employee_Name

Table 2: Passport_Number Name


Table 3: Flight_Number
Table 4: Ticket_Number
Table 5: Airline_Id Airline_Name
Triggers
Applying Triggers:
Creating Triggers: -
CREATE OR REPLACE TRIGGER Seat_Booking
BEFORE INSERT ON Airport
For each row
Begin
If: Seat_Number = Ticket_Number then
Raise_application_error(‘The Seat is already booked’)
End if;
End;
Triggers

Disabling Trigger: -
Alter Trigger Seat_allocation Disable;

Deleting a Trigger:-
Drop trigger Seat_allocation;
Conslusion

You might also like