Context: CREATE TABLE table_name_40 (name VARCHAR, spouse VARCHAR)
Question: Which member of house of Habsburg-Lorraine had the spouse Charles II?
Answer: SELECT name FROM table_name_40 WHERE spouse = "charles ii"