CREATE TABLE "deployments" (
  "from" text,
  "aircraft" text,
  "carrier" text,
  "air_wing" text,
  "tail_code" text,
  "area" text
);

Question: What was the deployed from date for the a-4b aircraft from westpac with a tail code of ah-3xx?
SQL: SELECT "from" FROM "deployments" WHERE "tail_code"='ah-3xx' AND "area"='westpac' AND "aircraft"='a-4b';

Question: Which carrier was deployed on 18 July 1968?
SQL: SELECT "carrier" FROM "deployments" WHERE "from"='18 july 1968';

Question: What is the type of aircraft that has a tail code of ah-3xx, deployed from 16 June 1967?
SQL: SELECT "aircraft" FROM "deployments" WHERE "tail_code"='ah-3xx' AND "from"='16 june 1967';

Question: What was the tail code for the cva-34 carrier with an air wing of cvw-16, deployed from 16 June 1967 in the Vietnam War?
SQL: SELECT "tail_code" FROM "deployments" WHERE "carrier"='cva-34' AND "air_wing"='cvw-16' AND "area"='vietnam war' AND "from"='16 june 1967';

Question: What is the air wing for the craft with a tail code of ah-3xx, deployed from 16 June 1967 in the Vietnam War?
SQL: SELECT "air_wing" FROM "deployments" WHERE "area"='vietnam war' AND "tail_code"='ah-3xx' AND "from"='16 june 1967';

Question: What is the air wing for the craft that was deployed from 16 June 1967?
SQL: SELECT "air_wing" FROM "deployments" WHERE "from"='16 june 1967';