Table: primera_division_2007
Columns: place
team
played
draw
lost
goals_scored
goals_conceded
points

Question: What were the goal conceded that had a lost greater than 8 and more than 17 points?
SQL: SELECT MAX("goals_conceded") FROM primera_division_2007 WHERE "lost" > 8 AND "points" > 17

Question: For Once Municipal, what were the goals scored that had less than 27 points and greater than place 1?
SQL: SELECT AVG("goals_scored") FROM primera_division_2007 WHERE "place" > 1 AND "team" = 'once municipal' AND "points" < 27

Question: How many points were in a game that had a lost of 5, greater than place 2, and 27 goals conceded?
SQL: SELECT COUNT("points") FROM primera_division_2007 WHERE "goals_conceded" = 27 AND "lost" = 5 AND "place" > 2

Question: What is the lowest amount of goals scored that has more than 19 goal conceded and played less than 18?
SQL: SELECT MIN("goals_scored") FROM primera_division_2007 WHERE "goals_conceded" > 19 AND "played" < 18

Question: What are the number of goals conceded that has a played greater than 18?
SQL: SELECT COUNT("goals_conceded") FROM primera_division_2007 WHERE "played" > 18

Question: What's the place that Once Municipal has a lost greater than 3?
SQL: SELECT AVG("place") FROM primera_division_2007 WHERE "team" = 'once municipal' AND "lost" > 3