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

Question: Which Points have a Time/Retired of +49.222 secs?
SQL: SELECT MAX("points") FROM "race" WHERE "time_retired"='+49.222 secs';

Question: What are grid 4's average points?
SQL: SELECT AVG("points") FROM "race" WHERE "grid"=4;