Table: bavarian_ice_hockey_season
Columns: position
name
played
drawn
lost
points

Question: what is the lowest played when the position is more than 9?
SQL: SELECT MIN("played") FROM bavarian_ice_hockey_season WHERE "position" > 9

Question: what is the average points when played is less than 16?
SQL: SELECT AVG("points") FROM bavarian_ice_hockey_season WHERE "played" < 16

Question: what is the highest points when position is higher than 6, lost is less than 12 and drawn is less than 1?
SQL: SELECT MAX("points") FROM bavarian_ice_hockey_season WHERE "position" > 6 AND "lost" < 12 AND "drawn" < 1

Question: what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2?
SQL: SELECT SUM("points") FROM bavarian_ice_hockey_season WHERE "lost" < 10 AND "name" = 'vfl denklingen' AND "position" > 2