CREATE TABLE table_name_99 (wins INT, class VARCHAR, points VARCHAR)

Which Wins is the highest one that has a Class of 500cc, and Points smaller than 6?
SELECT MAX(wins) FROM table_name_99 WHERE class = "500cc" AND points < 6
SELECT MAX("wins") FROM "table_name_99" WHERE "500cc" = "class" AND "points" < 6