CREATE TABLE "statistics" (
  "season" text,
  "appearance" real,
  "tries" real,
  "goals" real,
  "points" real
);

Question: what is the lowest appearance when goals is more than 0?
SQL: SELECT MIN("appearance") FROM "statistics" WHERE "goals">0;

Question: what is the sum of appearance when goals is more than 0?
SQL: SELECT SUM("appearance") FROM "statistics" WHERE "goals">0;

Question: what is the average tries for the season 2008 warrington wolves with an appearance more than 7?
SQL: SELECT AVG("tries") FROM "statistics" WHERE "season"='2008 warrington wolves' AND "appearance">7;

Question: How many times is tries 0 and appearance less than 0?
SQL: SELECT COUNT("points") FROM "statistics" WHERE "tries"=0 AND "appearance"<0;