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 (year VARCHAR, rank VARCHAR, moving_from VARCHAR)
  ### Question:
  What is the listed year that has a rank smaller than 8 and moving from Olympiacos?
  ### Answer:
  SELECT year FROM table_name_64 WHERE rank < 8 AND moving_from = "olympiacos"