Table: consorts_wurttemberg
Columns: name
birth
marriage
became_queen
ceased_to_be_queen
death
spouse

Question: When was the person who died on 16 July 1946 born?
SQL: SELECT "birth" FROM consorts_wurttemberg WHERE "death" = '16 july 1946'

Question: Who is the spouse of the person born on 29 September 1766?
SQL: SELECT "spouse" FROM consorts_wurttemberg WHERE "birth" = '29 september 1766'

Question: Who is born on 29 September 1766?
SQL: SELECT "name" FROM consorts_wurttemberg WHERE "birth" = '29 september 1766'

Question: Who was born on 10 May 1788 that ceased to be queen?
SQL: SELECT "ceased_to_be_queen" FROM consorts_wurttemberg WHERE "birth" = '10 may 1788'

Question: How is the marriage of who became queen on 30 October 1816 husband's accession?
SQL: SELECT "marriage" FROM consorts_wurttemberg WHERE "became_queen" = '30 october 1816 husband''s accession'

Question: When was the person who became queen on 15 April 1820 born?
SQL: SELECT "birth" FROM consorts_wurttemberg WHERE "became_queen" = '15 april 1820'