CREATE TABLE "house_of_schleswig_holstein_sonderburg_g" (
  "name" text,
  "birth" text,
  "marriage" text,
  "became_consort" text,
  "ceased_to_be_consort" text,
  "spouse" text
);

Question: Name the spouse for louise of hesse-kassel
SQL: SELECT "spouse" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "name"='louise of hesse-kassel';

Question: Name the became consort for christian ix spouse
SQL: SELECT "became_consort" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "spouse"='christian ix';

Question: Name the marriagefor ceased to be consort of 29 september 1898
SQL: SELECT "marriage" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "ceased_to_be_consort"='29 september 1898';

Question: Tell me the name of the person married to frederick ix
SQL: SELECT "name" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "spouse"='frederick ix';

Question: Name the birth of the person married 24 may 1935
SQL: SELECT "birth" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "marriage"='24 may 1935';