CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);

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

Question: How many laps for grid 25?
SQL: SELECT COUNT("laps") FROM "classification" 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 "classification" WHERE "laps">9 AND "grid"=6;