CREATE TABLE "references" (
  "white" text,
  "black" text,
  "year" real,
  "result" text,
  "moves" real,
  "tournament" text,
  "opening" text
);

Question: What's the white of E93 King's Indian Defence when Kasparov was black, moves were greater than 19, and happened before 2000?
SQL: SELECT "white" FROM "references" WHERE "moves">19 AND "black"='kasparov' AND "year"<2000 AND "opening"='e93 king''s indian defence';

Question: What tournament had a black of Kramnik and an opening of B66 Sicilian Defence?
SQL: SELECT "tournament" FROM "references" WHERE "black"='kramnik' AND "opening"='b66 sicilian defence';

Question: What year had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½?
SQL: SELECT MAX("year") FROM "references" WHERE "result"='½–½' AND "black"='kramnik' AND "opening"='e05 catalan opening' AND "moves">38;

Question: What year had 32 moves?
SQL: SELECT SUM("year") FROM "references" WHERE "moves"=32;

Question: What year has 14 moves and an opening of C54 Italian Game?
SQL: SELECT "year" FROM "references" WHERE "moves"=14 AND "opening"='c54 italian game';