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_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR)
  ### Question:
  How many rides did it take to get less than 3 bonus pts in no more than 7 matches?
  ### Answer:
  SELECT MIN(rides) FROM table_name_92 WHERE bonus_pts < 3 AND matches < 7