CREATE TABLE "2008_squad" (
  "squad_no" real,
  "player" text,
  "position" text,
  "tries" real,
  "goals" real,
  "points" real
);

Question: What is the largest amount of goals when the points are less than 0?
SQL: SELECT MAX("goals") FROM "2008_squad" WHERE "points"<0;

Question: Which player has more than 0 goals and less than 12 tries?
SQL: SELECT "player" FROM "2008_squad" WHERE "goals">0 AND "tries"<12;

Question: What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points?
SQL: SELECT MIN("tries") FROM "2008_squad" WHERE "player"='matt diskin' AND "points">16;

Question: Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player?
SQL: SELECT "position" FROM "2008_squad" WHERE "points">4 AND "tries"<12 AND "squad_no">1 AND "player"='ali lauitiiti';

Question: What is the total number of squad no when there are more than 8 points, Danny Mcguire is a player, and there are more than 0 goals?
SQL: SELECT SUM("squad_no") FROM "2008_squad" WHERE "points">8 AND "player"='danny mcguire' AND "goals">0;