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_11 (events INTEGER, rank VARCHAR, wins VARCHAR)
  ### Question:
  What is the average events where the rank is smaller than 2 and wins are smaller than 5?
  ### Answer:
  SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5