text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  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?
  ### Answer:
  SELECT title FROM table_name_64 WHERE left_office = "982" AND entered_office = "949"