Table: soccer_clausura_2008
Columns: place_posici_n
team_equipo
played_pj
won_pg
draw_pe
lost_pp
goals_scored_gf
goals_conceded_gc
dif
points_pts

Question: What is the average number of points of the team with more than 17 pg won?
SQL: SELECT AVG("points_pts") FROM soccer_clausura_2008 WHERE "won_pg" > 17

Question: What is the total number of pg won of the team with 64 goals conceded and more than 33 goals scored?
SQL: SELECT COUNT("won_pg") FROM soccer_clausura_2008 WHERE "goals_conceded_gc" = 64 AND "goals_scored_gf" > 33

Question: What is the sum of the pe draw of team plaza amador, who has less than 6 pg won?
SQL: SELECT SUM("draw_pe") FROM soccer_clausura_2008 WHERE "team_equipo" = 'plaza amador' AND "won_pg" < 6

Question: What is the sum of the places of the team with more than 49 points and less than 54 goals scored?
SQL: SELECT SUM("place_posici_n") FROM soccer_clausura_2008 WHERE "points_pts" > 49 AND "goals_scored_gf" < 54