What is the average total number of medals when there were 4 bronze, more than 2 silver, and less than 7 gold medals?
CREATE TABLE table_name_26 (
    total INTEGER,
    gold VARCHAR,
    bronze VARCHAR,
    silver VARCHAR
)
SELECT AVG(total) FROM table_name_26 WHERE bronze = 4 AND silver > 2 AND gold < 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 when there were 4 bronze, more than 2 silver, and less than 7 gold medals? ### Input: CREATE TABLE table_name_26 (
    total INTEGER,
    gold VARCHAR,
    bronze VARCHAR,
    silver VARCHAR
) ### Response: SELECT AVG(total) FROM table_name_26 WHERE bronze = 4 AND silver > 2 AND gold < 7