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_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR)
  ### Question:
  Name the average earnings for rank of 3 and wins less than 3
  ### Answer:
  SELECT AVG(earnings___) AS $__ FROM table_name_34 WHERE rank = 3 AND wins < 3