CREATE TABLE "rebounds" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "reb_avg" real,
  "total_rebounds" real
);

Question: Which years have a rank less than 2?
SQL: SELECT "years" FROM "rebounds" WHERE "rank"<2;

Question: How many games have rebounds larger than 1048?
SQL: SELECT COUNT("games") FROM "rebounds" WHERE "total_rebounds">1048;

Question: How many rebounds have a Player of andre gaddy, and a Rank smaller than 6?
SQL: SELECT COUNT("total_rebounds") FROM "rebounds" WHERE "player"='andre gaddy' AND "rank"<6;

Question: How many rebounds have a Player of herb estes?
SQL: SELECT COUNT("total_rebounds") FROM "rebounds" WHERE "player"='herb estes';

Question: What is the total of rebound averages with more than 98 games and a rank of 7?
SQL: SELECT SUM("reb_avg") FROM "rebounds" WHERE "games">98 AND "rank"=7;