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

Question: I want the highest grid for Laps of 38
SQL: SELECT MAX("grid") FROM "race" WHERE "laps"=38;

Question: Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentzen
SQL: SELECT "constructor" FROM "race" WHERE "grid">4 AND "driver"='heinz-harald frentzen';