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_5 (rank INTEGER, opposition VARCHAR, total VARCHAR)
### Question:
What is the average rank of the match where offaly was the opposition and the total was greater than 9?
### Answer:
SELECT AVG(rank) FROM table_name_5 WHERE opposition = "offaly" AND total > 9