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

Question: Whose rule began in 1906 BC?
SQL: SELECT "name" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "from"='1906 bc';

Question: What is the title of the one who ruled from 2007 BC?
SQL: SELECT "title" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "from"='2007 bc';

Question: What is the name of the ruler whose rule began in 1924 BC?
SQL: SELECT "name" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "from"='1924 bc';

Question: What royal house did Shaokang belong to?
SQL: SELECT "royal_house" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "name"='shaokang';