CREATE TABLE "head_to_head_record" (
  "record" text,
  "hard" text,
  "clay" text,
  "grass" text,
  "carpet" text
);

Question: Which clay has a Record of 2–0, and a Hard 1–0?
SQL: SELECT "clay" FROM "head_to_head_record" WHERE "record"='2–0' AND "hard"='1–0';

Question: Which hard has a Clay of 0–0, Grass of 0–0,  Carpet of 0–0, and a Record of 1–0?
SQL: SELECT "hard" FROM "head_to_head_record" WHERE "clay"='0–0' AND "grass"='0–0' AND "carpet"='0–0' AND "record"='1–0';

Question: Which carpet has a Clay of 1–0 and a Hard 1–1?
SQL: SELECT "carpet" FROM "head_to_head_record" WHERE "clay"='1–0' AND "hard"='1–1';