CREATE TABLE "batting_averages" (
  "player" text,
  "county" text,
  "matches" real,
  "innings" real,
  "runs" real,
  "average" text,
  "highest_score" text,
  "100s" real,
  "50s" real
);

Question: Which player has a 50 of 2?
SQL: SELECT "player" FROM "batting_averages" WHERE "50s"=2;

Question: How many 100 for the player with 3 50s?
SQL: SELECT "100s" FROM "batting_averages" WHERE "50s"=3;

Question: What is the average for the player from Lancashire 1 100?
SQL: SELECT "average" FROM "batting_averages" WHERE "county"='Lancashire' AND "100s"=1;