Table: hungarian_grand_prix_1987
Columns: driver
constructor
laps
time_retired
grid

Question: what is the most laps with the time/retired is differential and the grid is more than 2?
SQL: SELECT MAX("laps") FROM hungarian_grand_prix_1987 WHERE "time_retired" = 'differential' AND "grid" > 2

Question: what is the least laps when the grid is 5?
SQL: SELECT MIN("laps") FROM hungarian_grand_prix_1987 WHERE "grid" = 5