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_45 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR)
  ### Question:
  What is the highest Year, when Apparatus is "Vault", and when Rank-Final is less than 9?
  ### Answer:
  SELECT MAX(year) FROM table_name_45 WHERE apparatus = "vault" AND rank_final < 9