Table schema:
CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)

Question: What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?
SQL: SELECT SUM(wins) FROM table_name_2 WHERE ties < 2 AND goals_against = 18 AND losses < 2