Invalid query : select pID, first, last, sum(gsTackles) as tackles, sum(gsDINTs) as DINTs, sum(gsDINTTDs) as DINTTDs, sum(gsSacks) as Sacks , tID, city, tname, dod from tecmoplayer, game_stats, tecmoteam where pID = gspUID AND tID = gsTeam AND gsSeason = AND gslUID = 1 AND gPlayoff = 0 AND pos = 5 AND (gsDINTs > 0 OR gsSacks > 0 or gsTackles > 0) group by pID, gsSeason order by gsSacks desc, Sacks desc