Question: Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick"
Schema: create table airport (airport_id varchar, airport_name varchar, PRIMARY KEY (airport_id)); create table aircraft (aircraft varchar, aircraft_id varchar, PRIMARY KEY (aircraft)); create table airport_aircraft (aircraft_id varchar, airport_id varchar, PRIMARY KEY (aircraft_id))
SQL: select t1.aircraft from aircraft as t1 join airport_aircraft as t2 on t1.aircraft_id = t2.aircraft_id join airport as t3 on t2.airport_id = t3.airport_id where t3.airport_name = "london heathrow" intersect select t1.aircraft from aircraft as t1 join airport_aircraft as t2 on t1.aircraft_id = t2.aircraft_id join airport as t3 on t2.airport_id = t3.airport_id where t3.airport_name = "london gatwick"