CREATE TABLE "933_1062" (
  "throne_name" text,
  "title" text,
  "born_died" text,
  "entered_office" text,
  "left_office" text,
  "family_relations" text
);

Question: What is the title of the king who left office in 982 and entered office in 949?
SQL: SELECT "title" FROM "933_1062" WHERE "left_office"='982' AND "entered_office"='949';

Question: When did the king who entered office in 1012 leave office?
SQL: SELECT "left_office" FROM "933_1062" WHERE "entered_office"='1012';

Question: What are the family relations of the king with the throne name 303?
SQL: SELECT "family_relations" FROM "933_1062" WHERE "throne_name"='303';

Question: What is teh born-died dates of the king with a throne name 315 and left office in 1021?
SQL: SELECT "born_died" FROM "933_1062" WHERE "left_office"='1021' AND "throne_name"='315';