WITH clause to create a Common Table Expression (CTE) that unions the departure_airport and arrival_airport columns into a single column named airport_id, along with their corresponding flights_count.flights_count for each airport_id to get the total traffic per airport.airport_id from the CTE where the total traffic matches the maximum value found.
erDiagram
Flights {
int departure_airport
int arrival_airport
int flights_count
departure_airport--||--arrival_airport : is the primary key
}