Qual é o total de vitórias com menos de 2 empates, 18 gols e menos de 2 derrotas?
CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)
SELECT SUM(wins) FROM table_name_2 WHERE ties < 2 AND goals_against = 18 AND losses < 2