Table schema:
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?
SQL: SELECT MAX(wins) FROM table_name_23 WHERE losses < 1 AND teams = "rams" AND games > 8