CREATE TABLE table_name_85 (laps NUMBER, rider VARCHAR2, grid VARCHAR2)

with a Rider of marco melandri, and a Grid smaller than 10, what is the highest lap count?
SELECT MAX(laps) FROM table_name_85 WHERE rider = "marco melandri" AND grid < 10
SELECT MAX("laps") FROM "table_name_85" WHERE "grid" < 10 AND "marco melandri" = "rider"