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

Question: Which IATA is associated with China and an ICAO of ZSPD?
SQL: SELECT "iata" FROM "references" WHERE "country"='china' AND "icao"='zspd';

Question: Which airport is associated with Macau?
SQL: SELECT "airport" FROM "references" WHERE "city"='macau';

Question: What is the IATA for Nanjing?
SQL: SELECT "iata" FROM "references" WHERE "city"='nanjing';

Question: Which airport has an ICAO of RCKH?
SQL: SELECT "airport" FROM "references" WHERE "icao"='rckh';

Question: Which airport has an IATA of TYN?
SQL: SELECT "airport" FROM "references" WHERE "iata"='tyn';

Question: Which country contains the Shanghai Pudong International airport?
SQL: SELECT "country" FROM "references" WHERE "airport"='shanghai pudong international airport';