CREATE TABLE "notes" (
  "name" text,
  "confederation" text,
  "international_goals" real,
  "caps" real,
  "goals_per_match" real
);

Question: What is Cha Bum-Kun's average number of goals per match?
SQL: SELECT COUNT("goals_per_match") FROM "notes" WHERE "name"='cha bum-kun';

Question: How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have?
SQL: SELECT COUNT("caps") FROM "notes" WHERE "name"='jon dahl tomasson' AND "goals_per_match"<0.46;