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_1 (earnings___ VARCHAR, wins VARCHAR, rank VARCHAR)
  ### Question:
  What's the total earnings ($) with more than two wins and a rank less than 2?
  ### Answer:
  SELECT COUNT(earnings___) AS $__ FROM table_name_1 WHERE wins > 2 AND rank < 2