What is inventor2

509 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
509
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

What is inventor2

  1. 1. Presentation On <ul><li>Airline Management System </li></ul><ul><li>Presented to </li></ul><ul><li>Mr.Harmeet Singh Gill </li></ul><ul><li>Presented by </li></ul><ul><li>Manpreet Kaur(338) </li></ul><ul><li>Harpreet Singh(278) </li></ul><ul><li>Nirmaljeet Singh </li></ul>
  2. 2. Introduction <ul><li>The internet revolution of the late 1990s sharply increased direct user access to databases. </li></ul><ul><li>Organisations converted many of their phone interfaces to databases into web interfaces, and made a variety of services online. </li></ul><ul><li>Therefore, it is very easy to book tickets and find other information online related to airlines online </li></ul>
  3. 3. Types of Inventory <ul><li>Raw materials </li></ul><ul><li>Purchased parts and supplies </li></ul><ul><li>Work-in-process (partially completed) products (WIP) </li></ul><ul><li>Items being transported </li></ul><ul><li>Tools and equipment </li></ul>
  4. 4. <ul><li>This document gives a brief discussion on Entity Relationship in Airline Reservation System, one of the representative application </li></ul><ul><li>particular type can land on a particular airport on the of Database Management System which is used for reservations scheduled day </li></ul>
  5. 5. Objectives of Airline Management <ul><li>Maximize the level of customer service by providing booking facility. </li></ul><ul><li>It is very easy to book tickets and find other </li></ul><ul><li>information online related to airlines online. </li></ul>
  6. 6. DBMS Architecture <ul><li>It provides a frame work ,which is proposed as standard by ANSI. </li></ul><ul><li>Three views are </li></ul><ul><li>External View </li></ul><ul><li>Conceptual View </li></ul><ul><li>Internal View </li></ul>
  7. 8. External View 9897685765 Harpreet Sidhu 676 9878654332 Simranjeet Singh 984 Phone_no Passenger_name Passenger_ id Delhi Harpreet Sidhu 676 Chandigarh Simranjeet Singh 984 Address Passenger_name Passenger_ id
  8. 9. Conceptual View Text Gender Number Phone_no Memo Address Text Passenger_ name Number Passenger_ id
  9. 10. Internal View <ul><li>It is the view about the actual physical storage of data . </li></ul><ul><li>This level describes ‘ how ’ the data will be actually stored in the database. </li></ul><ul><li>This level serves as a base . </li></ul>
  10. 11. Entity Relationship Model <ul><li>Entity – It is anything real or abstract about which we want to store the data . </li></ul><ul><li>Relationship – It specifies the association that </li></ul><ul><li>exists between one or more entities. </li></ul><ul><li>Attribute – It is the characteristic which is common to all or most instances of particular entity. </li></ul>
  11. 12. Entity <ul><li>Passenger </li></ul><ul><li>Flight </li></ul><ul><li>Time </li></ul><ul><li>Fare </li></ul><ul><li>Ticket </li></ul><ul><li>Location </li></ul>
  12. 13. Attributes <ul><li>Characteristics of entities </li></ul><ul><li>Domain is set of possible values </li></ul><ul><li>Primary keys underlined </li></ul>
  13. 14. Relationship Flight Passenger Flight Time Passenger Booking Boards Makes Arrival
  14. 15. Relationship Flight Ticket Fare Flight Location Passenger Pays Reach Has
  15. 16. Example Of ER Model
  16. 17. Generalization
  17. 18. Specialization Student Grad Student Post Grad Student
  18. 19. Normalization <ul><li>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. </li></ul><ul><li>First N/F </li></ul><ul><li>Second N/F </li></ul><ul><li>Third N/F </li></ul><ul><li>BNC N/F </li></ul>
  19. 20. Normalization Form Eliminate Repeating Groups Second N/F First N/F Third N/F BC N/F Removing Partial key dependency Eliminate Transitive key dependency Eliminate Functional dependency
  20. 21. SQL Commands <ul><li>It is a simple and powerful language used to create ,access and manipulate data and structure in the database . </li></ul><ul><li>SQL Statements categorize in to </li></ul><ul><li>Data Definition Language ( CREATE, DROP, ALTER ) </li></ul><ul><li>Data Manipulation Language (INSERT INTO,UPDATE ,DELETE ) </li></ul><ul><li>Transaction Control Language </li></ul><ul><li>Query Language ( SELECT) </li></ul>
  21. 22. ER-Diagram
  22. 23. Data Definition Language <ul><li>Define the structure of a database. </li></ul><ul><li>Types of DDL commands </li></ul><ul><li>Create </li></ul><ul><li>Alter </li></ul><ul><li>Drop </li></ul><ul><li>Rename </li></ul>
  23. 24. Create Command <ul><li>The CREATE TABLE statement is used to create a table in a database. </li></ul><ul><li>Syntax Example </li></ul><ul><li>CREATE TABLE table_name ( column_name1 data_type, column_name2 data_type, column_name3 data_type, .... ) ; </li></ul>CREATE TABLE Passenger ( PassengerId number primary key, PassengerName text(20), Address varchar(50), Phone _no number(10) ) ;
  24. 25. INSERT Command <ul><li>  The INSERT INTO statement is used to insert a new row in a table. </li></ul><ul><li>Syntax </li></ul>INSERT INTO table_name VALUES (value1, value2, value3,...) INSERT INTO table_name (column1, column2, column3,...) VALUES (value1, value2, value3,...) OR
  25. 26. Example <ul><li>INSERT INTO Passenger VALUES (678,‘Harpreet Sidhu’, ‘Delhi', 9889765897); </li></ul><ul><li>OR </li></ul><ul><li>INSERT INTO Passenger (Passenger_Id, PassengerName) </li></ul><ul><li>VALUES (678, ‘Harpreet Sidhu'); </li></ul>
  26. 27. Alter Command <ul><li>Syntax </li></ul><ul><li>ALTER TABLE table_name ADD column_name datatype </li></ul><ul><li>Example </li></ul>ALTER TABLE table_name DROP COLUMN column_name ALTER TABLE Passenger ADD DateOfBirth date ALTER TABLE Passenger DROP COLUMN DateOfBirth Example
  27. 28. Drop <ul><li>The DROP TABLE statement is used to delete a table </li></ul><ul><li>Syntax </li></ul><ul><li>DROP TABLE table_name </li></ul><ul><li>DROP DATABASE database_name </li></ul>

×