Table: belgian_grand_prix_1987
Columns: driver
constructor
laps
time_retired
grid

Question: Who constructed the car that retired due to brakes with a grid larger than 17?
SQL: SELECT "constructor" FROM belgian_grand_prix_1987 WHERE "grid" > 17 AND "time_retired" = 'brakes'

Question: How many laps for grid 25?
SQL: SELECT COUNT("laps") FROM belgian_grand_prix_1987 WHERE "grid" = 25

Question: What is the time/retired for the car with over 9 laps and a grid of 6?
SQL: SELECT "time_retired" FROM belgian_grand_prix_1987 WHERE "laps" > 9 AND "grid" = 6