user: ### NOW ANSWER:
Question: Name the average goals against for draws of 8 and wins more than 22 with losses less than 12
Columns: ['Position', 'Club', 'Played', 'Points', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Goal Difference']
Types: ['real', 'text', 'real', 'text', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Real Murcia', 38.0, '52+14', 22.0, 8.0, 8.0, 66.0, 30.0, 36.0]
SQL:

assistant: SELECT AVG("Goals against") FROM "Table" WHERE "Draws" = 8.0 AND "Losses" < 12.0 AND "Wins" > 22.0;