Table schema:
CREATE TABLE table_name_59 (losses INTEGER, played VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)

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?
SQL: SELECT MAX(losses) FROM table_name_59 WHERE position < 6 AND wins > 11 AND points = 36 AND played > 30