Whose reign began in Vietnam and ended in October 1005?
CREATE TABLE table_name_79 (reign_began VARCHAR, country VARCHAR, reign_ended VARCHAR)
SELECT reign_began FROM table_name_79 WHERE country = "vietnam" AND reign_ended = "october 1005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (reign_began VARCHAR, country VARCHAR, reign_ended VARCHAR) Question: Whose reign began in Vietnam and ended in October 1005? [/INST] SELECT reign_began FROM table_name_79 WHERE country = "vietnam" AND reign_ended = "october 1005" </s>