CREATE TABLE "sanfl" (
  "season" real,
  "team" text,
  "wins" real,
  "losses" real,
  "draws" real
);

Question: How many losses did the team, Sturt, have when they had more than 0 wins?
SQL: SELECT COUNT("losses") FROM "sanfl" WHERE "team"='sturt' AND "wins">0;

Question: What is the average number of draws for the team that had more than 0 wins?
SQL: SELECT AVG("draws") FROM "sanfl" WHERE "wins">0;

Question: What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926?
SQL: SELECT MIN("losses") FROM "sanfl" WHERE "draws">0 AND "season"<1926;

Question: What is the highest number of wins for the team, Central District, who had less than 0 draws and took place during a season before 1995?
SQL: SELECT MAX("wins") FROM "sanfl" WHERE "season"<1995 AND "team"='central district' AND "draws"<0;

Question: What is the average number of wins before the season in 1906 where there were 0 draws?
SQL: SELECT AVG("wins") FROM "sanfl" WHERE "season"<1906 AND "draws"<0;