Invalid query : select sum(gsAttempts) as Attempts, sum(gsComps) as Comps, sum(gsPassYards) as PassYards, sum(gsPassTDs) as TDs, sum(gsINTs) as INTs, ROUND(((GREATEST(0, LEAST(2.375,((((SUM(gsComps) / SUM(gsAttempts)) * 100) - 30) * .05))) + GREATEST(0, LEAST(2.375,(((SUM(gsPassYards) / SUM(gsAttempts)) - 3) * .25))) + LEAST(2.375, ((SUM(gsPassTDs) / SUM(gsAttempts)) *20)) + GREATEST(0, (2.375 -((SUM(gsINTs) / SUM(gsAttempts)) * 25))))*50/3),1) AS nfl_rating, sum(gsRushes) as Rushes, sum(gsRushYards) as RushYards, sum(gsRushTDs) as RushTDs from game_stats where gspUID = AND gsSeason = 4 AND gsWeek < 17
 
Player Position
CompsAttsYdsTDsINTsRating
Age