user: Question: What was the highest number of losses for a position less than 6, with more than 11 wins and 36 points, with a played entry of more than 30?
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, 'CA Osasuna', 30.0, 46.0, 21.0, 4.0, 5.0, 83.0, 25.0, 58.0]
SQL:

assistant: SELECT MAX("Losses") FROM "Table" WHERE "Position" < 6.0 AND "Wins" > 11.0 AND "Points" = 36.0 AND "Played" > 30.0;