mariadb/scripts/atc.ontime/q8.sql
2013-07-23 16:15:21 -04:00

1 line
146 B
SQL

SELECT DestCityName, COUNT( DISTINCT OriginCityName) FROM ontime WHERE Year BETWEEN 2006 and 2007 GROUP BY DestCityName ORDER BY 2 DESC LIMIT 10;