How do I add a case statement to this query that if any of the fields are 0 then put a 0 in it's place?SelectCasepend400when pend400=0 then '0'else 0 end pend400reg,regionacronym, totpenfodds, ABS(PendinFO) as Pendinfo, pendndds, pendfo300, penddds300,pend250, pend300, pend351, pend400From(Select Sort, area, Reg, regionacronym,SUM(Totpenfodds) AS Totpenfodds,sum(pendndds) as Pendndds, (sum (Pendndds - Totpenfodds )) as PendinFO,SUM(Pendfo300) AS Pendfo300,SUM(Penddds300) AS Penddds300,SUM(Pend250) AS Pend250,SUM(Pend300) AS Pend300,SUM(Pend351) AS Pend351,SUM(pend400) AS pend400from testWHERE reg= 'c'group by sort, area, Reg, regionacronym)aorder by sort