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_82 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)
  ### Question:
  What is the average silver with more than 0 gold, a Rank of 1, and a Total smaller than 30?
  ### Answer:
  SELECT AVG(silver) FROM table_name_82 WHERE gold > 0 AND rank = "1" AND total < 30