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_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)
  ### Question:
  Name the average bronze with silver more than 0, total of 6 and gold more than 0
  ### Answer:
  SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0