When did the king who entered office in 1012 leave office?
CREATE TABLE "933_1062" (
  "throne_name" text,
  "title" text,
  "born_died" text,
  "entered_office" text,
  "left_office" text,
  "family_relations" text
);
SELECT "left_office" FROM "933_1062" WHERE "entered_office"='1012';