Context: CREATE TABLE table_name_65 (ends INTEGER, goals INTEGER)
Question: Add up all the Ends columns that have goals smaller than 0.
Answer: SELECT SUM(ends) FROM table_name_65 WHERE goals < 0