What is the average total number of medals for a nation with 2 silver medals and a rank larger than 7?
CREATE TABLE table_name_97 (
    total INTEGER,
    silver VARCHAR,
    rank VARCHAR
)
SELECT AVG(total) FROM table_name_97 WHERE silver = 2 AND rank > 7
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average total number of medals for a nation with 2 silver medals and a rank larger than 7? ### Input: CREATE TABLE table_name_97 (
    total INTEGER,
    silver VARCHAR,
    rank VARCHAR
) ### Response: SELECT AVG(total) FROM table_name_97 WHERE silver = 2 AND rank > 7