Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns?
CREATE TABLE "first_class_records" (
  "name" text,
  "seasons" text,
  "matches" real,
  "inns" real,
  "runs" real
);
SELECT MAX("inns") FROM "first_class_records" WHERE "seasons"='1987–2007' AND "runs">11622;