What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
CREATE TABLE table_name_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR)
SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR) Question: What is the smallest End term with a Start term of 1913, and a Name of ludwig iii? [/INST] SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii" </s>