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_79 (laps INTEGER, driver VARCHAR, grid VARCHAR)
  ### Question:
  Whats teo fabi average lap time while having less than 9 grids?
  ### Answer:
  SELECT AVG(laps) FROM table_name_79 WHERE driver = "teo fabi" AND grid < 9