Question: Find the number of routes and airport name for each source airport, order the results by decreasing number of routes.
Schema: create table airports (name varchar, apid varchar, PRIMARY KEY (name)); create table routes (src_apid varchar, PRIMARY KEY (src_apid))
SQL: select count(*), t1.name from airports as t1 join routes as t2 on t1.apid = t2.src_apid group by t1.name order by count(*) desc