2. soruya bakıyorum.



Böyle bir şey olmalı ama denemek lazım.
select distinct source_city, count(*) from(
select distinct source_city, destination_city from flights
)
group by source_city