For each airport, find the average occupancy of flights in August 2017 (according to the actual departure date) for business and economy class. Display the result in two columns departure_airport - departure airport code, average_business_occupancy - average occupancy of business class seats in percent, rounded to two decimal places , average_economy_occupancy - average occupancy of economy class seats. Sort the results by departure airport code.
Write your request in the field below and click the "Check it!" button.
To write the answer, use PostgreSQL syntax. Descriptions of the tables are given in the right panel.