Table: german_grand_prix_1997
Columns: driver
constructor
laps
time_retired
grid

Question: What is the smallest grid with collision as the Time/Retired for pedro diniz?
SQL: SELECT MIN("grid") FROM german_grand_prix_1997 WHERE "time_retired" = 'collision' AND "driver" = 'pedro diniz'

Question: What is the number of laps for Grid 14?
SQL: SELECT COUNT("laps") FROM german_grand_prix_1997 WHERE "grid" = 14

Question: What is the number of the grid for mika häkkinen and more than 45 laps?
SQL: SELECT COUNT("grid") FROM german_grand_prix_1997 WHERE "driver" = 'mika häkkinen' AND "laps" > 45