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

Question: What is the highest position of the team with an against of 12, less than 11 points, more than 2 drawn, and more than 9 played?
SQL: SELECT MAX("position") FROM league_stats_6 WHERE "against" = 12 AND "points" < 11 AND "drawn" > 2 AND "played" > 9

Question: What is the difference of the team with 12 points?
SQL: SELECT "difference" FROM league_stats_6 WHERE "points" = 12

Question: What is the average number of played of the team with 3 losses, more than 9 points, a position of 5, and less than 12 against?
SQL: SELECT AVG("played") FROM league_stats_6 WHERE "lost" = 3 AND "points" > 9 AND "position" = 5 AND "against" < 12