SCHEMA:
CREATE TABLE table_name_12 (laps INTEGER, rider VARCHAR, grid VARCHAR)
USER:
What is the highest number of laps that max biaggi rode on a grid larger than 2?

QUERY:
SELECT MAX(laps) FROM table_name_12 WHERE rider = "max biaggi" AND grid > 2