CREATE TABLE table_name_99 (goals_for INTEGER, goal_difference VARCHAR(255), losses VARCHAR(255))
What is the average amount of goals that have a goal difference or 8 and the losses are smaller than 12?
    
SQL: SELECT AVG(goals_for) FROM table_name_99 WHERE goal_difference = 8 AND losses < 12