SCHEMA:
CREATE TABLE table_name_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)
USER:
What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2?

QUERY:
SELECT AVG(wins) FROM table_name_51 WHERE against < 1786 AND losses < 4 AND byes < 2