CREATE TABLE "first_class_records" (
  "name" text,
  "seasons" text,
  "matches" real,
  "inns" real,
  "runs" real
);

Question: Matches of 127 has how many total number of inns?
SQL: SELECT COUNT("inns") FROM "first_class_records" WHERE "matches"=127;

Question: Name of clem hill, and Inns larger than 126 has the lowest runs?
SQL: SELECT MIN("runs") FROM "first_class_records" WHERE "name"='clem hill' AND "inns">126;

Question: Runs smaller than 6106, and Inns smaller than 146 has what total number of matches?
SQL: SELECT COUNT("matches") FROM "first_class_records" WHERE "runs"<6106 AND "inns"<146;

Question: Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns?
SQL: SELECT MAX("inns") FROM "first_class_records" WHERE "seasons"='1987–2007' AND "runs">11622;