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

Question: What is the title for YI?
SQL: SELECT "title" FROM "list_of_state_leaders_in_400_bc" WHERE "name"='yi';

Question: What is the state song from?
SQL: SELECT "from" FROM "list_of_state_leaders_in_400_bc" WHERE "state"='song';

Question: What is the state Yi?
SQL: SELECT "state" FROM "list_of_state_leaders_in_400_bc" WHERE "name"='yi';

Question: What state has the king title?
SQL: SELECT "state" FROM "list_of_state_leaders_in_400_bc" WHERE "title"='king';