CREATE TABLE "rank_by_time_in_office" (
  "rank" real,
  "premier" text,
  "party" text,
  "assumed_office" text,
  "left_office" text,
  "total_time_in_office" text
);

Question: what is the premier when the assumed office is 14 april 1894?
SQL: SELECT "premier" FROM "rank_by_time_in_office" WHERE "assumed_office"='14 april 1894';

Question: what is the rank when the assumed office is 9 april 1903?
SQL: SELECT SUM("rank") FROM "rank_by_time_in_office" WHERE "assumed_office"='9 april 1903';

Question: what is the premier when the rank is 30?
SQL: SELECT "premier" FROM "rank_by_time_in_office" WHERE "rank"=30;

Question: what is the total time in office when the assumed office is 1 november 1856?
SQL: SELECT "total_time_in_office" FROM "rank_by_time_in_office" WHERE "assumed_office"='1 november 1856';

Question: what is the rank when assumed office on 12 may 1857?
SQL: SELECT SUM("rank") FROM "rank_by_time_in_office" WHERE "assumed_office"='12 may 1857';