What is the average amount of gold medals for a country with more than 12 total medals?
CREATE TABLE table_name_45 (
    gold INTEGER,
    total INTEGER
)
SELECT AVG(gold) FROM table_name_45 WHERE total > 12
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 amount of gold medals for a country with more than 12 total medals? ### Input: CREATE TABLE table_name_45 (
    gold INTEGER,
    total INTEGER
) ### Response: SELECT AVG(gold) FROM table_name_45 WHERE total > 12