Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
- 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.
Airline PK Airline id No.Of Seats Production_year Model PK Model_id Company FK Airline_id Flights PK Flight_number Dept_time Art_time Destination Schedule FK Airline_id Airport PK Airport_id Destination Name Country FK Flight_id Journey PK Date Dept_time Arr_time No. of Passenger Schedule FK Flight_id Seats PK Seat_number Occ_status Pass_name Nationality Age phone_number FK Flight_idStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started