what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?
CREATE TABLE "head_to_head_record" (
  "competition" text,
  "played" real,
  "spartak" real,
  "draw" real,
  "dynamo" real
);
SELECT AVG("dynamo") FROM "head_to_head_record" WHERE "draw">0 AND "played"<15 AND "spartak">1;