user: Question: with a Rider of marco melandri, and a Grid smaller than 10, what is the highest lap count?
Columns: ['Rider', 'Manufacturer', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Casey Stoner', 'Ducati', 32.0, '44:20.325', 1.0]
SQL:

assistant: SELECT MAX("Laps") FROM "Table" WHERE "Rider" = 'marco melandri' AND "Grid" < 10.0;