Instruct: what is the sum of goals for when the position is less than 8, the losses is less than 10 the goals against is less than 35 and played is less than 38?
Output: SELECT SUM Goals for FROM table WHERE Position < 8 AND Losses < 10 AND Goals against < 35 AND Played < 38