+ All Categories
Home > Education > Database Project Airport management System

Database Project Airport management System

Date post: 08-Jan-2017
Category:
Upload: fahad-chishti
View: 2,939 times
Download: 55 times
Share this document with a friend
30
Transcript
Page 1: Database Project Airport management System
Page 2: Database Project Airport management System

Group members

Asad Nisar Nauman Abbas Muhammad Fahad Husnain Ehsan Fazeela Safdar

Page 3: Database Project Airport management System

Airport Management System Course DBMS Instructor Sir Usman

Page 4: Database Project Airport management System

Table of Content

What is Database Database Management Importance of DBMS Airport Management System Introduction Benefits Implement of DBMS Requirement ER-Diagram SQL Security

Page 5: Database Project Airport management System

.

Over View

A Collection of logical related data it can easily access.

Data store in Tables, RowsAnd Column

Data Base

Page 6: Database Project Airport management System

A database management system (DBMS) is system software.

Creating and managing databases. In which files are integrated to each

other The DBMS facilitates the user to create,

retrieve, update and manage data.

Database management

Page 7: Database Project Airport management System

Importance of DBMS

It helps make data management more efficient and effective.

 A database management system stores, organizes and manages a large amount of information within a single software application.

Use of this system increases efficiency of business operations and reduces overall costs.

Page 8: Database Project Airport management System

Introduction of Airport Managements System We used DBMS in airport management system. First of all, we need to identify the entities,

attribute and relationships. When we use DBMS, the record of all airport

management entities is in the same location. We shows entities, attributes and relationships

by ER diagram. SQL is a language which is used for applying

queries. Example we applying queries for insertion, deletion or updating etc.

Page 9: Database Project Airport management System

Benefits

While using DBMS, the data is independent. It removes duplication of data. Easy to insert, update and delete data in DBMS. When we use DBMS, the files integrated each other. We can secure our data by using DBMS.

Page 10: Database Project Airport management System

Problems

They do not communicate at accurate time. Duplication of Data Data Dependency At the Time of installation of a data base or

implementation of database we check the capacity of the operating system if operating system cannot capable to perform the operations we need to install a upgrade operating system to run a database efficiently.

Page 11: Database Project Airport management System

Implement of DBMS

Analyze user environment. Develop logical model. Choose DBMS. Map logical model DBMS. Develop physical Design. Evaluate Physical Model.

Page 12: Database Project Airport management System

Requirements of AMS

Database management system required a operating system that have capability to run and perform the operation of database with the help of quires.

Database required a that Database Administrator for control the of the data flow.

Page 13: Database Project Airport management System

Entities & Attribute

ENTITY : Airpot ATTRIBUTES (Airpot_id, Airpot_name, city)

ENTITY : Employee ATTRIBUTES (emp _id, emp _ name, emp_age, Airport_name, salary, Job, emp_Address)

ENTITY : Passengers ATTRIBUTES (p_id, p_name, p_age, p_address, country_name)

ENTITY : Airline Companies ATTRIBUTES (c_id, c_name, city, country)

ENTITY : Ticket ATTRIBUTES (order_no, flight_name, seat_class, price, passenger_name)

ENTITY : Flight time ATTRIBUTES (Flight_no, Airport_name , Arrivals_hours , Aiport _arrival, Departure_Hours)

Page 14: Database Project Airport management System

ER-DIADRAM

Page 15: Database Project Airport management System

AIRPORT

CityAirport_Na

me ID

Has

Employees

Emp_id

Emp_name

JOB

Salary/payment

AGE

Serve

Passengers

Country

P_Address

P_Name

P_ID

PurchasesTickets

Class/seat

Flight/compan

y

Flight Number Price Passenger

name

Carries

Airlines company

IDCountry

Name

CityBelongs to

FlightsAirportName

Airportarrrival Departur

e_Hour Flight_no

1

MM

M

M

M

1

1

1

M

M

Page 16: Database Project Airport management System

Description

Airport has employees Employees serve passengers Passengers purchases tickets Flight carries passengers Ticket belongs to flight

Page 17: Database Project Airport management System

Models of DBMS

Data Model is a collection of concept used to describe the structure of a data. It contains data types, relationships, and constraints. Hierarchical model Network model Relational model

Page 18: Database Project Airport management System

Relational Model

Conceptually simple Computers lacked power to implement the relational

model We are using the RDBMS in this data model RDBMS has its ability to hide the complexities of the

relational model from the user. It contains tables.

Page 19: Database Project Airport management System

SQL

S.Q.L stands for Structured Query language. It is used to interact with the database. SQL was developed by IBM. It is the standard language for RDBMS. Using SQL statements we can perform tasks such

as retrieving or updating data from the database. Select statement Create table Insert into Delete table

Page 20: Database Project Airport management System

Basic statements

Data definition language Select statement Create statement Alter statement

Adding a column Renaming a column

Drop statement

Page 21: Database Project Airport management System

Select statement

Select*From<Table Name>Where<Condition>ExampleSelect*From studentwhere name = Ali;

Page 22: Database Project Airport management System

Create statement

Create table <table name>(Column 1 data type,Column 2 data type…Column n data type)Example:Create table <Student>{std_id varchar (15)Std _name varchar(20)Std_address varchar (40)};

Page 23: Database Project Airport management System

Alter statement

Alter table <table name>ADD(Column 1 data type,Column 2 data type…, Column n data type);Alter table studentAdd(Roll_no varchar(10),std_age varchar(3));

Page 24: Database Project Airport management System

Drop Statement

Syntax: Drop Table <table name> Example: Drop Table Student;

Page 25: Database Project Airport management System

Basic statements

Data manipulation language(DML) Insert statement Delete statement

Page 26: Database Project Airport management System

Insert statement

Syntax: insert into <table name> (column 1, coulmn 2…, column n)Values (value 1, value2,… value n);Example: insert into student ( std _id, std_name, std-address)Values (10, Ali, ABC)

Page 27: Database Project Airport management System

Delete statement

Syntax: delete from <table name> where (condition)Example: delete from student where std_id=10;

Page 28: Database Project Airport management System

DBMS Security

The unit of data used in specifying security in the database can be, for example;

• the entire database• a set of relations• individual relation• a set of tuples in a relation• individual tuple• a set of attributes of all tuples• an attribute of an individual tuple.

Page 29: Database Project Airport management System

Security

Database Security involves protection against: unauthorized disclosures alteration destruction Stop people without db access from having any

access.

Page 30: Database Project Airport management System

THE END


Recommended