Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

Database Project Airport management System

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Próximo SlideShare
Database language
Database language
Cargando en…3
×

Eche un vistazo a continuación

1 de 30 Anuncio
Anuncio

Más Contenido Relacionado

Presentaciones para usted (20)

Similares a Database Project Airport management System (20)

Anuncio

Más reciente (20)

Database Project Airport management System

  1. 1. Group members  Asad Nisar  Nauman Abbas  Muhammad Fahad  Husnain Ehsan  Fazeela Safdar
  2. 2. Airport Management System Course DBMS Instructor Sir Usman
  3. 3. Table of Content  What is Database  Database Management  Importance of DBMS  Airport Management System Introduction  Benefits  Implement of DBMS  Requirement  ER-Diagram  SQL  Security
  4. 4. . Over View A Collection of logical related data it can easily access. Data store in Tables, Rows And Column Data Base
  5. 5. 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
  6. 6. 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.
  7. 7. 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.
  8. 8. 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.
  9. 9. 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.
  10. 10. Implement of DBMS  Analyze user environment.  Develop logical model.  Choose DBMS.  Map logical model DBMS.  Develop physical Design.  Evaluate Physical Model.
  11. 11. 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.
  12. 12. 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)
  13. 13. AIRPORT City Airport_Name ID Has Employee s Emp_id Emp_name JOB Salary/payment AGE Serv e Passenger s Countr y P_Address P_Name P_ID Purchase s Tickets Class/seat Flight/ company Flight Number Price Passenger name Carries Airlines company IDCountry Nam e City Belong s to FlightsAirport Name Airport arrrival Departure _Hour Flight_no 1 M M M M M 1 1 1 M M
  14. 14. Description  Airport has employees  Employees serve passengers  Passengers purchases tickets  Flight carries passengers  Ticket belongs to flight
  15. 15. 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
  16. 16. 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.
  17. 17. 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
  18. 18. Basic statements  Data definition language  Select statement  Create statement  Alter statement Adding a column Renaming a column  Drop statement
  19. 19. Select statement Select* From<Table Name> Where<Condition> Example Select* From student where name = Ali;
  20. 20. 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)};
  21. 21. Alter statement Alter table <table name> ADD(Column 1 data type,Column 2 data type…, Column n data type); Alter table student Add(Roll_no varchar(10),std_age varchar(3));
  22. 22. Drop Statement  Syntax:  Drop Table <table name>  Example:  Drop Table Student;
  23. 23. Basic statements  Data manipulation language(DML)  Insert statement  Delete statement
  24. 24. 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)
  25. 25. Delete statement Syntax: delete from <table name> where (condition) Example: delete from student where std_id=10;
  26. 26. 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.
  27. 27. Security  Database Security involves protection against:  unauthorized disclosures  alteration  destruction  Stop people without db access from having any access.

×