Table: leeds_rhinos_stats
Columns: squad_no
player
position
tries
goals
points

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

Question: Which player has more than 0 goals and less than 12 tries?
SQL: SELECT "player" FROM leeds_rhinos_stats 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 leeds_rhinos_stats 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 leeds_rhinos_stats 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 leeds_rhinos_stats WHERE "points" > 8 AND "player" = 'danny mcguire' AND "goals" > 0