CREATE TABLE "win_loss_record" (
  "club" text,
  "active" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "percentage_wins" text,
  "flags" real
);

Question: What's the number of wins when the flags were less than 8 and 52.11% of wins?
SQL: SELECT COUNT("wins") FROM "win_loss_record" WHERE "percentage_wins"='52.11%' AND "flags"<8;

Question: What's the most flags that had 473 wins and less than 633 losses?
SQL: SELECT MAX("flags") FROM "win_loss_record" WHERE "wins"=473 AND "losses"<633;

Question: How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10?
SQL: SELECT "wins" FROM "win_loss_record" WHERE "flags">6 AND "draws">10 AND "club"='south warrnambool';

Question: What are the losses of Warrnambool with a draw less than 19?
SQL: SELECT AVG("losses") FROM "win_loss_record" WHERE "club"='warrnambool' AND "draws"<19;