Question: Find the names of the top 10 airlines that operate the most number of routes.
Schema: create table airlines (name varchar, alid varchar, PRIMARY KEY (name)); create table routes (alid varchar, PRIMARY KEY (alid))
SQL: select t1.name, t2.alid from airlines as t1 join routes as t2 on t1.alid = t2.alid group by t2.alid order by count(*) desc limit 10