Table schema:
CREATE TABLE table_name_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)

Question: What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2?
SQL: SELECT AVG(wins) FROM table_name_51 WHERE against < 1786 AND losses < 4 AND byes < 2