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_15 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)
  ### Question:
  What is the average rank of a country with less than 13 bronze medals, a total of 11 medals, and more than 4 gold?
  ### Answer:
  SELECT AVG(rank) FROM table_name_15 WHERE bronze < 13 AND total = 11 AND gold > 4