Question: Find the number of routes that have destination John F Kennedy International Airport.
Schema: create table airports (apid varchar, name varchar, PRIMARY KEY (apid)); create table routes (dst_apid varchar, PRIMARY KEY (dst_apid))
SQL: select count(*) from airports as t1 join routes as t2 on t1.apid = t2.dst_apid where t1.name = 'john f kennedy international airport'