CREATE TABLE "games" (
  "alianza_wins" real,
  "draws" real,
  "u_wins" real,
  "alianza_goals" real,
  "u_goals" real
);

Question: What is the lowest U Wins, when Alianza Wins is greater than 0, when Alianza Goals is greater than 25, and when Draws is "99"?
SQL: SELECT MIN("u_wins") FROM "games" WHERE "alianza_wins">0 AND "alianza_goals">25 AND "draws"=99;

Question: What is the sum of Alianza Wins, when Alianza Goals is "317, and when U Goals is greater than 296?
SQL: SELECT SUM("alianza_wins") FROM "games" WHERE "alianza_goals"=317 AND "u_goals">296;

Question: What is the total number of U Wins, when Alianza Goals is "0", and when U Goals is greater than 3?
SQL: SELECT COUNT("u_wins") FROM "games" WHERE "alianza_goals"=0 AND "u_goals">3;

Question: What is the lowest Draws, when Alianza Goals is less than 317, when U Goals is less than 3, and when Alianza Wins is less than 2?
SQL: SELECT MIN("draws") FROM "games" WHERE "alianza_goals"<317 AND "u_goals"<3 AND "alianza_wins"<2;