CREATE TABLE "players" (
  "nationality" text,
  "position" text,
  "gillingham_career" text,
  "apps" real,
  "goals" real
);

Question: Where was the player born when the appearances were greater than 40 and made 17 goals?
SQL: SELECT "nationality" FROM "players" WHERE "apps">40 AND "goals"=17;

Question: When did the mf from England play for Gillingham that made 0 goals and less than 37 appearances?
SQL: SELECT "gillingham_career" FROM "players" WHERE "goals"=0 AND "apps"<37 AND "nationality"='england' AND "position"='mf';