Table: hfnl_stats
Columns: club
wins
losses
draws
against

Question: what is the average wins when draws is less than 0?
SQL: SELECT AVG("wins") FROM hfnl_stats WHERE "draws" < 0

Question: what is the average losses when the club is warrnambool and wins is less than 12?
SQL: SELECT AVG("losses") FROM hfnl_stats WHERE "club" = 'warrnambool' AND "wins" < 12

Question: what is the most losses when the club is terang and draws is less than 0?
SQL: SELECT MAX("losses") FROM hfnl_stats WHERE "club" = 'terang' AND "draws" < 0

Question: What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238?
SQL: SELECT SUM("losses") FROM hfnl_stats WHERE "wins" > 6 AND "club" = 'camperdown' AND "against" > 1238