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 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
  ### Question:
  What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?
  ### Answer:
  SELECT MIN(laps) FROM table_name_64 WHERE constructor = "ferrari" AND grid < 4