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

Question: What is the title from 302 bc?
SQL: SELECT "title" FROM "list_of_state_leaders_in_300_bc" WHERE "from"='302 bc';

Question: Which royal house has the name huai?
SQL: SELECT "royal_house" FROM "list_of_state_leaders_in_300_bc" WHERE "name"='huai';

Question: Who has the title of marquis?
SQL: SELECT "name" FROM "list_of_state_leaders_in_300_bc" WHERE "title"='marquis';

Question: Which royal house is in the state of chu?
SQL: SELECT "royal_house" FROM "list_of_state_leaders_in_300_bc" WHERE "state"='chu';

Question: Which state has a king named xiang?
SQL: SELECT "state" FROM "list_of_state_leaders_in_300_bc" WHERE "title"='king' AND "name"='xiang';