What was the average rank for south africa when they had more than 8 silver medals?
CREATE TABLE table_name_64 (rank INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(rank) FROM table_name_64 WHERE nation = "south africa" AND silver > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (rank INTEGER, nation VARCHAR, silver VARCHAR) Question: What was the average rank for south africa when they had more than 8 silver medals? [/INST] SELECT AVG(rank) FROM table_name_64 WHERE nation = "south africa" AND silver > 8 </s>