user: ### NOW ANSWER:
Question: What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games?
Columns: ['Position', 'Played', 'Points', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Goal Difference']
Types: ['real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 30.0, 42.0, 18.0, 6.0, 6.0, 64.0, 34.0, 30.0]
SQL:

assistant: SELECT MAX("Goals for") FROM "Table" WHERE "Position" > 8.0 AND "Losses" = 12.0 AND "Played" < 30.0;