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_32 (gold INTEGER, rank VARCHAR, silver VARCHAR)
  ### Question:
  what is the average gold when rank is total and silver is more than 20?
  ### Answer:
  SELECT AVG(gold) FROM table_name_32 WHERE rank = "total" AND silver > 20