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

Question: What is the average Against when the drawn is more than 2 and the Difference of- 17, and a Played smaller than 20?
SQL: SELECT AVG("against") FROM sao_paulo_1946_stats WHERE "drawn" > 2 AND "difference" = '- 17' AND "played" < 20

Question: What is the number of Position when the team was são paulo railway and the against is less than 46?
SQL: SELECT COUNT("position") FROM sao_paulo_1946_stats WHERE "team" = 'são paulo railway' AND "against" < 46

Question: What is the Team when the lost is less than 13, and the position is less than 4, with a Difference of 42?
SQL: SELECT "team" FROM sao_paulo_1946_stats WHERE "lost" < 13 AND "position" < 4 AND "difference" = '42'

Question: What is the sum of Played when the drawn is less than 2 and against is more than 29?
SQL: SELECT SUM("played") FROM sao_paulo_1946_stats WHERE "drawn" < 2 AND "against" > 29