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?
SQL: SELECT title FROM table_name_64 WHERE left_office = "982" AND entered_office = "949"