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_91 (laps INTEGER, driver VARCHAR, grid VARCHAR)
  ### Question:
  What is the average laps for lorenzo bandini with a grid under 3?
  ### Answer:
  SELECT AVG(laps) FROM table_name_91 WHERE driver = "lorenzo bandini" AND grid < 3