Table: german_grand_prix_1995
Columns: driver
constructor
laps
time_retired
grid

Question: Which constructor has a Grid smaller than 18, and a Driver of mika häkkinen?
SQL: SELECT "constructor" FROM german_grand_prix_1995 WHERE "grid" < 18 AND "driver" = 'mika häkkinen'

Question: What is the average Lap of damon hill, with a Grid smaller than 1?
SQL: SELECT AVG("laps") FROM german_grand_prix_1995 WHERE "driver" = 'damon hill' AND "grid" < 1

Question: What is the total number of laps with a Driver of eddie irvine?
SQL: SELECT SUM("laps") FROM german_grand_prix_1995 WHERE "driver" = 'eddie irvine'