Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_38166 ( "Season" real, "Belonging league" text, "Matches" real, "Points" real, "Draw" real, "Lose" real, "Goal difference" real, "Goals For" real, "Goals Against" real, "Position" real )

### Question ###
What is the average goals for with a position under 12, draws over 1, and goals against under 28?

### Accurate SQL ###

SELECT AVG("Goals For") FROM table_38166 WHERE "Position" < '12' AND "Draw" > '1' AND "Goals Against" < '28'