Invalid query : select pID, face, race, first, last, pos, sum(gsRushes) as rushes, sum(gsRushYards) as rushyds, sum(gsRushTDs) as rushtds, sum(gsComps) as passcomps, sum(gsAttempts) as passatts, sum(gsPassYards) as passyds, sum(gsPassTDs) as passtds, sum(gsReceptions) as recs, sum(gsReceptionYards) as recyds, sum(gsReceptionTDs) as rectds, sum(gsINTs) as passints from tecmoplayer, game_stats where pID = gspUID AND gslUID = 1 AND pID = AND gsSeason = 1980 AND gPlayoff = 0 group by gspUID