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

Question: Which amount of lost had an against of more than 22 and 9 points?
SQL: SELECT "lost" FROM season_stats WHERE "against" > 22 AND "points" = 9

Question: What is the total amount of points when the played number was less than 12?
SQL: SELECT SUM("points") FROM season_stats WHERE "played" < 12

Question: What is the largest points number where the difference is 12?
SQL: SELECT MAX("points") FROM season_stats WHERE "difference" = '12'

Question: What is the total number of points where there were 3 losses and a played number bigger than 12?
SQL: SELECT SUM("points") FROM season_stats WHERE "lost" = 3 AND "played" > 12