How much Goal Difference has less than 9 Losses, and 8 Draws, and more than 40 points?
CREATE TABLE table_name_22 (
    goal_difference INTEGER,
    points VARCHAR,
    losses VARCHAR,
    draws VARCHAR
)
SELECT SUM(goal_difference) FROM table_name_22 WHERE losses < 9 AND draws = 8 AND points > 40
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: How much Goal Difference has less than 9 Losses, and 8 Draws, and more than 40 points? ### Input: CREATE TABLE table_name_22 (
    goal_difference INTEGER,
    points VARCHAR,
    losses VARCHAR,
    draws VARCHAR
) ### Response: SELECT SUM(goal_difference) FROM table_name_22 WHERE losses < 9 AND draws = 8 AND points > 40