user: ### NOW ANSWER:
Question: What is the most wins when the number of losses was less than 4 and there was more than 0 ties?
Columns: ['Pos.', 'Team', 'Wins', 'Ties', 'Losses', 'Goals', 'Diff.', 'Points']
Types: ['real', 'text', 'real', 'real', 'real', 'text', 'text', 'text']
Sample row: [1.0, 'Switzerland', 4.0, 0.0, 0.0, '31: 2', '+29', '8:0']
SQL:

assistant: SELECT MAX("Wins") FROM "Table" WHERE "Losses" < 4.0 AND "Ties" > 0.0;