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_89 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
  ### Question:
  When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals?
  ### Answer:
  SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59