What is the title of the king who left office in 982 and entered office in 949?
CREATE TABLE table_name_64 (title VARCHAR, left_office VARCHAR, entered_office VARCHAR)
SELECT title FROM table_name_64 WHERE left_office = "982" AND entered_office = "949"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (title VARCHAR, left_office VARCHAR, entered_office VARCHAR) Question: What is the title of the king who left office in 982 and entered office in 949? [/INST] SELECT title FROM table_name_64 WHERE left_office = "982" AND entered_office = "949" </s>