CREATE TABLE "j" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);

Question: What time period had appearances of 219?
SQL: SELECT "period" FROM "j" WHERE "appearances"=219;

Question: How many periods had 15 goals?
SQL: SELECT COUNT("period") FROM "j" WHERE "goals"=15;