user: Question: What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?
Columns: ['Position', 'Club', 'Played', 'Points', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Goal Difference']
Types: ['real', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Sevilla FC', 38.0, 53.0, 22.0, 9.0, 7.0, 56.0, 30.0, 26.0]
SQL:

assistant: SELECT MAX("Losses") FROM "Table" WHERE "Goals for" < 45.0 AND "Points" < 18.0;