There is very little time left until the end of the month! Help us pay for hosting and infrastructure. 🖥️ Support sqltest →
SQL code copied to buffer
Task 16:

Airport Connection Pairs

Get a list of all pairs of airports that have at least one flight between them. Output the result as a table with two columns: departure_airport - the English name of the departure airport and arrival_airport - the English name of the arrival airport.
Sort the results by departure airport, then by arrival airport.

Use PostgreSQL syntax to write your answer. Descriptions of tables are provided in the right pane.

Write your request in the field below and click the "Check it!" button.
Get hint
Copy code Clear editor

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

Privacy & Cookie Policy.