CREATE TABLE table_name_64 (title VARCHAR(255), left_office VARCHAR(255), entered_office VARCHAR(255))
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"