CREATE TABLE "winners_by_team" (
  "rank" real,
  "club" text,
  "winners" real,
  "runners_up" real,
  "third" real
);

Question: Which Rank has a Third of 2, and Winners smaller than 2?
SQL: SELECT AVG("rank") FROM "winners_by_team" WHERE "third"=2 AND "winners"<2;

Question: How many Winners have a Third of 1, and Runners-up smaller than 0?
SQL: SELECT COUNT("winners") FROM "winners_by_team" WHERE "third"=1 AND "runners_up"<0;

Question: Which Third has Runners-up of 0, and Winners of 0, and a Club of far rabat?
SQL: SELECT AVG("third") FROM "winners_by_team" WHERE "runners_up"=0 AND "winners"=0 AND "club"='far rabat';

Question: Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?
SQL: SELECT MAX("winners") FROM "winners_by_team" WHERE "rank">7 AND "third"<1;