Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_36345 ( "Throne Name" text, "Title" text, "Born-Died" text, "Entered office" text, "Left office" text, "Family Relations" text )

### Question ###
What is the title of the king who left office in 982 and entered office in 949?

### Accurate SQL ###

SELECT "Title" FROM table_36345 WHERE "Left office" = '982' AND "Entered office" = '949'