question: what is the least laps for driver gerhard berger with a grid more than 6?
answer: SELECT MIN(laps) FROM table_name_35 WHERE driver = "gerhard berger" AND grid > 6
context: CREATE TABLE table_name_35 (laps INTEGER, driver VARCHAR, grid VARCHAR)