Table: inter_milan_league_record
Columns: matches
wins
draw
losses
against

Question: How many total losses were with less than 51 draws but more than 6 wins?
SQL: SELECT COUNT("losses") FROM inter_milan_league_record WHERE "draw" < 51 AND "wins" > 6

Question: How many matches has 51 draws and more than 6 against?
SQL: SELECT SUM("matches") FROM inter_milan_league_record WHERE "against" > 6 AND "draw" = 51

Question: How many wins has more than 165 against?
SQL: SELECT MAX("wins") FROM inter_milan_league_record WHERE "against" > 165

Question: How many draws have less than 35 losses with 136 matches and less than 146 against?
SQL: SELECT AVG("draw") FROM inter_milan_league_record WHERE "losses" < 35 AND "matches" = 136 AND "against" < 146