CREATE TABLE "race_record" (
  "race" text,
  "dist_f" real,
  "course" text,
  "runners" real,
  "placing" real,
  "margin" real,
  "jockey" text,
  "trainer" text
);

Question: what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?
SQL: SELECT MAX("runners") FROM "race_record" WHERE "jockey"='frankie dettori' AND "placing">1;

Question: what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth?
SQL: SELECT "race" FROM "race_record" WHERE "jockey"='frankie dettori' AND "margin">3 AND "course"='yarmouth';