CREATE TABLE "queens_of_bohemia" (
  "father" text,
  "birth" text,
  "marriage" text,
  "became_queen" text,
  "ceased_to_be_queen" text,
  "death" text,
  "spouse" text
);

Question: What is the name of the father who was born in 1204 and married ottokar ii?
SQL: SELECT "father" FROM "queens_of_bohemia" WHERE "spouse"='ottokar ii' AND "birth"='1204';

Question: What is the birth date of the woman who ceased to be Queen on 18 Jun 1297?
SQL: SELECT "birth" FROM "queens_of_bohemia" WHERE "ceased_to_be_queen"='18 jun 1297';

Question: Leopold VI, Duke of Austria is the father-in-law of which person?
SQL: SELECT "spouse" FROM "queens_of_bohemia" WHERE "father"='leopold vi, duke of austria';

Question: What is the birth date of the person who died on 18 October 1335?
SQL: SELECT "birth" FROM "queens_of_bohemia" WHERE "death"='18 october 1335';

Question: When did the person who died on 6 Dec 1240 get married?
SQL: SELECT "marriage" FROM "queens_of_bohemia" WHERE "death"='6 dec 1240';