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

Question: What is the royal house for Wu at the state of cai?
SQL: SELECT "royal_house" FROM "vassal_states" WHERE "name"='wu' AND "state"='cai';

Question: What is the state where the title is listed as count?
SQL: SELECT "state" FROM "vassal_states" WHERE "title"='count';

Question: What is the state for the royal house of ying?
SQL: SELECT "state" FROM "vassal_states" WHERE "royal_house"='ying';