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_34 (bronze INTEGER, rank VARCHAR, total VARCHAR)
  ### Question:
  With 8 as the rank, and a total of more than 2 medals what is the average bronze medals?
  ### Answer:
  SELECT AVG(bronze) FROM table_name_34 WHERE rank = "8" AND total > 2