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_17 (laps INTEGER, qual VARCHAR)
  ### Question:
  How many laps resulted from a Qual of 165.229?
  ### Answer:
  SELECT MAX(laps) FROM table_name_17 WHERE qual = "165.229"