Table: football_1940_stats
Columns: position
team
points
played
against
difference

Question: When the played number is less than 8 and against is 23, what is the least amount of points?
SQL: SELECT MIN("points") FROM football_1940_stats WHERE "against" = 23 AND "played" < 8

Question: When the corinthians have a position of less than 5, what is the average against?
SQL: SELECT AVG("against") FROM football_1940_stats WHERE "position" < 5 AND "team" = 'corinthians'

Question: What position has less than 6 Points?
SQL: SELECT COUNT("position") FROM football_1940_stats WHERE "points" < 6

Question: What is the number of against when the difference is 10 and played is greater than 8?
SQL: SELECT COUNT("against") FROM football_1940_stats WHERE "difference" = '10' AND "played" > 8