Get statistics on flights departing from Domodedovo Airport (DME) in August 2017.
Output the result as a table with columns:
count_departed - the total number of flights departing from the airport,
count_delayed - the number of delayed flights (a flight that actually took off more than half an hour later than scheduled is considered delayed) and
delayed_flights_rate - percentage of delayed flights rounded to two decimal places.
Write your request in the field below and click the "Check it!" button.
Use PostgreSQL syntax to write your answer. Descriptions of tables are provided at the bottom of the screen.
ER diagram of the Bookings database