Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_23 (wins INTEGER, games VARCHAR, losses VARCHAR, teams VARCHAR)
### Question:
what is the highest wins when the losses is less than 1, team is rams and the games is more than 8?
### Answer:
SELECT MAX(wins) FROM table_name_23 WHERE losses < 1 AND teams = "rams" AND games > 8