CREATE TABLE "vassal_states" (
  "state" text,
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text
);

Question: What state had a title of duke for the royal house of ji?
SQL: SELECT "state" FROM "vassal_states" WHERE "title"='duke' AND "royal_house"='ji';

Question: What state had the name of wu for the royal house of ji?
SQL: SELECT "state" FROM "vassal_states" WHERE "royal_house"='ji' AND "name"='wu';

Question: What was the name listed for the royal house of jiang and a title of duke?
SQL: SELECT "name" FROM "vassal_states" WHERE "title"='duke' AND "royal_house"='jiang';

Question: What was the name when the state was wey?
SQL: SELECT "name" FROM "vassal_states" WHERE "state"='wey';

Question: What was the title for the state of qin?
SQL: SELECT "title" FROM "vassal_states" WHERE "state"='qin';

Question: What was the state that had the vassal name of li?
SQL: SELECT "state" FROM "vassal_states" WHERE "name"='li';