New month, new goals. Your help keeps the project moving forward. 🖥️ Support sqltest →
SQL code copied to buffer
Task 22:

Rate airports

PostgreSQL
Using the solution of the previous problem rank airports by the number of delayed flights in August 2017 (the fewer the better).
Only include airports with more than 100 departures per month.
Output the result as a table with columns:
     airport_rank - airport rating,
     airport_name - English name of the airport
     delayed_flights_rate - percentage of delayed flights accurate to two digits.
Sort the table by rating

Write your query below and click "Check it!". Tables are described in the right pane.

The query result will appear here. Ctrl+Enter - Run query

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.