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_42 (laps INTEGER, driver VARCHAR, grid VARCHAR)
  ### Question:
  How many Laps with a Grid smaller than 3 did Driver NIki Lauda have?
  ### Answer:
  SELECT AVG(laps) FROM table_name_42 WHERE driver = "niki lauda" AND grid < 3