text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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