Table schema:
CREATE TABLE table_name_12 (laps INTEGER, rider VARCHAR, grid VARCHAR)

Question: What is the highest number of laps that max biaggi rode on a grid larger than 2?
SQL: SELECT MAX(laps) FROM table_name_12 WHERE rider = "max biaggi" AND grid > 2