Airline Company An airline company is interested in implementing a database system to manipulate the flights that it organizes. The airline company has a certain number of airplanes. Each airplane has a unique code, a number of seats and a production year. An airplane belongs to a certain airplane model. Each model has a unique model number and is provided by a certain company. We have different airplanes of each model. Each flight is identified by a flight number, a scheduled departure time and a scheduled arrival time. We want also to keep track of the airport from which the flight is scheduled as well as the destination airport. Each airport is identified by a unique code, its name and the country in which it is located. Journeys of each flight are organized on a daily basis. Each journey is identified by a date, its actual departure time, its actual arrival time, and the number of passengers, in addition to the airplane that performs the journey. We want to keep track of the seats occupied, where each seat is identified by a seat number, a passenger name, nationality, age and phone number. Steps to be done Step 1: Data Modeling - Create an ER diagram, Step 2: Map ER diagram into a relational model, Step 3: Create your tables and fill them with few records of logical data, Step 4: SQL Queries SQL Queries List the total number of journeys done during October 2015. List the company name of all available airplanes. List the total number of airports in each country. List flight number, departing airport name, arrival airport name, scheduled departure time, scheduled arrival time of all the flights that has ‘France’ as their destination country. List the total number of passengers that traveled on ‘25-09-2015’. List the total number of passengers from each nationality that travelled on the journey date between ’11-10-2015’ and ’16-10-2015’ of the flight number ‘227’. List journey date, flight number, departing airport name, arrival airport name, actual departure time, actual arrival time of all the journeys that departed or landed at ‘Beirut International Airport’. List airplane code, number of seats, production year and airplane company of all airplanes produced after the year ‘2010’. List the average age of passengers who traveled to ‘Lebanon’ in ‘2015’. List flight number, journey date, departing airport, actual departure time, arrival airport, actual arrival time of all flights that are done on airbus airplanes (company name = ‘airbus’) on ’19-11-2015’ Write 5 additional queries that you find useful for this application. The queries should not be easy.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Airline Company An airline company is interested in implementing a database system to manipulate the flights that it organizes. The airline company has a certain number of airplanes. Each airplane has a unique code, a number of seats and a production year. An airplane belongs to a certain airplane model. Each model has a unique model number and is provided by a certain company. We have different airplanes of each model. Each flight is identified by a flight number, a scheduled departure time and a scheduled arrival time. We want also to keep track of the airport from which the flight is scheduled as well as the destination airport. Each airport is identified by a unique code, its name and the country in which it is located. Journeys of each flight are organized on a daily basis. Each journey is identified by a date, its actual departure time, its actual arrival time, and the number of passengers, in addition to the airplane that performs the journey. We want to keep track of the seats occupied, where each seat is identified by a seat number, a passenger name, nationality, age and phone number. Steps to be done Step 1: Data Modeling - Create an ER diagram, Step 2: Map ER diagram into a relational model, Step 3: Create your tables and fill them with few records of logical data, Step 4: SQL Queries SQL Queries List the total number of journeys done during October 2015. List the company name of all available airplanes. List the total number of airports in each country. List flight number, departing airport name, arrival airport name, scheduled departure time, scheduled arrival time of all the flights that has ‘France’ as their destination country. List the total number of passengers that traveled on ‘25-09-2015’. List the total number of passengers from each nationality that travelled on the journey date between ’11-10-2015’ and ’16-10-2015’ of the flight number ‘227’. List journey date, flight number, departing airport name, arrival airport name, actual departure time, actual arrival time of all the journeys that departed or landed at ‘Beirut International Airport’. List airplane code, number of seats, production year and airplane company of all airplanes produced after the year ‘2010’. List the average age of passengers who traveled to ‘Lebanon’ in ‘2015’. List flight number, journey date, departing airport, actual departure time, arrival airport, actual arrival time of all flights that are done on airbus airplanes (company name = ‘airbus’) on ’19-11-2015’ Write 5 additional queries that you find useful for this application. The queries should not be easy.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Parallel and Distributed Storage
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education