what year was the opponent caroline garcia?
CREATE TABLE table_name_22 (
    year INTEGER,
    opponent VARCHAR
)
SELECT SUM(year) FROM table_name_22 WHERE opponent = "caroline garcia"
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 year was the opponent caroline garcia? ### Input: CREATE TABLE table_name_22 (
    year INTEGER,
    opponent VARCHAR
) ### Response: SELECT SUM(year) FROM table_name_22 WHERE opponent = "caroline garcia"