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_58 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
  ### Question:
  What is the average earnings ($) that has meg mallon as the player, with a rank less than 9?
  ### Answer:
  SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE player = "meg mallon" AND rank < 9