Table: german_grand_prix_1985
Columns: driver
constructor
laps
time_retired
grid

Question: What's the average of the amount of laps for the driver patrick tambay?
SQL: SELECT AVG("laps") FROM german_grand_prix_1985 WHERE "driver" = 'patrick tambay'

Question: When renault is the constructor, the grid is over 6, and the time was labeled ignition, what's the largest amount of laps on record?
SQL: SELECT MAX("laps") FROM german_grand_prix_1985 WHERE "grid" > 6 AND "constructor" = 'renault' AND "time_retired" = 'ignition'