Table: japanese_grand_prix_1999
Columns: driver
constructor
laps
time_retired
grid

Question: What driver shows grid as 18?
SQL: SELECT "driver" FROM japanese_grand_prix_1999 WHERE "grid" = 18

Question: What is the Time/Retired for less than 52 laps in grid 19?
SQL: SELECT "time_retired" FROM japanese_grand_prix_1999 WHERE "laps" < 52 AND "grid" = 19

Question: What driver has more than 39 laps on gird 15?
SQL: SELECT "driver" FROM japanese_grand_prix_1999 WHERE "laps" > 39 AND "grid" = 15

Question: What is the number of the grid for Johnny Herbert with more than 52 laps?
SQL: SELECT SUM("grid") FROM japanese_grand_prix_1999 WHERE "driver" = 'johnny herbert' AND "laps" > 52

Question: What is the least amount of laps for Luca Badoer?
SQL: SELECT MIN("laps") FROM japanese_grand_prix_1999 WHERE "driver" = 'luca badoer'