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

Question: What is Name, when State is "Jin"?
SQL: SELECT "name" FROM "vassal_states" WHERE "state"='jin';

Question: What is Name, when Royal House is "Ji", and when State is "Cai"?
SQL: SELECT "name" FROM "vassal_states" WHERE "royal_house"='ji' AND "state"='cai';

Question: What is State, when From is "830 BC"?
SQL: SELECT "state" FROM "vassal_states" WHERE "from"='830 bc';