user: Question: What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?
Columns: ['Rank', 'Team', 'Played', 'Wins', 'Ties', 'Losses', 'Goals For', 'Goals Against', 'Points']
Types: ['real', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'United States', 5.0, 5.0, 0.0, 0.0, 22.0, 3.0, 10.0]
SQL:

assistant: SELECT SUM("Wins") FROM "Table" WHERE "Ties" < 2.0 AND "Goals Against" = 18.0 AND "Losses" < 2.0;