Which Total has a Rank of 17, and a Gold larger than 0?
CREATE TABLE table_40754 (
    "Rank" text,
    "Nation" text,
    "Gold" real,
    "Silver" real,
    "Bronze" real,
    "Total" real
)
SELECT AVG("Total") FROM table_40754 WHERE "Rank" = '17' AND "Gold" > '0'
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: Which Total has a Rank of 17, and a Gold larger than 0? ### Input: CREATE TABLE table_40754 (
    "Rank" text,
    "Nation" text,
    "Gold" real,
    "Silver" real,
    "Bronze" real,
    "Total" real
) ### Response: SELECT AVG("Total") FROM table_40754 WHERE "Rank" = '17' AND "Gold" > '0'