Table: brazil_football_2008
Columns: position
team
points
played
drawn
lost
against
difference

Question: How much Played has a Lost larger than 14, and Drawn of 8, and a Team of ipatinga?
SQL: SELECT SUM("played") FROM brazil_football_2008 WHERE "lost" > 14 AND "drawn" = 8 AND "team" = 'ipatinga'

Question: How many Drawn have a Difference of 3, and Points smaller than 52?
SQL: SELECT COUNT("drawn") FROM brazil_football_2008 WHERE "difference" = '3' AND "points" < 52

Question: Which Points is the highest one that has a Position smaller than 4, and a Team of são paulo, and Drawn larger than 12?
SQL: SELECT MAX("points") FROM brazil_football_2008 WHERE "position" < 4 AND "team" = 'são paulo' AND "drawn" > 12

Question: How many Lost have Points larger than 40, and a Position of 11, and a Played smaller than 38?
SQL: SELECT SUM("lost") FROM brazil_football_2008 WHERE "points" > 40 AND "position" = 11 AND "played" < 38