Question: Find the number of routes whose destination airports are in Canada.
Schema: create table routes (dst_apid varchar, PRIMARY KEY (dst_apid)); create table airports (apid varchar, PRIMARY KEY (apid))
SQL: select count(*) from airports as t1 join routes as t2 on t1.apid = t2.dst_apid where country = 'canada'