CREATE TABLE "assists" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "ast_avg" real,
  "total_assists" real
);

Question: WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331?
SQL: SELECT AVG("ast_avg") FROM "assists" WHERE "games">101 AND "rank"=5 AND "total_assists"<331;

Question: WHAT IS THE SUM OF AST AVG WITH RANK 5 AND GAMES BIGGER THAN 108?
SQL: SELECT SUM("ast_avg") FROM "assists" WHERE "rank"=5 AND "games">108;