CREATE TABLE "references" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);

Question: Which country is Lemd the ICAO of?
SQL: SELECT "country" FROM "references" WHERE "icao"='lemd';

Question: Paris-Charles de Gaulle airport is in which country?
SQL: SELECT "country" FROM "references" WHERE "airport"='paris-charles de gaulle airport';

Question: What is the ICAO for Riyadh, Saudi Arabia?
SQL: SELECT "icao" FROM "references" WHERE "country"='saudi arabia' AND "city"='riyadh';

Question: What is the IATA for Benghazi, Libya?
SQL: SELECT "iata" FROM "references" WHERE "country"='libya' AND "city"='benghazi';