Hello everyone,
I am trying to calculate the percentage.
ICount is what percentage of FaCount, I keep getting 0 in the percentage column, what am I doing wrong.
Thank you for reading this post
select * ,(ICount / FaCount) * 100 AS Percentage
from religionCounts
Facility ICount Religion FaCount Percentage
---------- ----------- -------------------- ------------- -----------
ASDCU 15 7-ADVENT 814 0
ASDCU 25 HEBREW 814 0
ASDCU 125 LUTHERAN 814 0
ASDCU 200 MUSLIM 814 0
I am trying to calculate the percentage.
ICount is what percentage of FaCount, I keep getting 0 in the percentage column, what am I doing wrong.
Thank you for reading this post
select * ,(ICount / FaCount) * 100 AS Percentage
from religionCounts
Facility ICount Religion FaCount Percentage
---------- ----------- -------------------- ------------- -----------
ASDCU 15 7-ADVENT 814 0
ASDCU 25 HEBREW 814 0
ASDCU 125 LUTHERAN 814 0
ASDCU 200 MUSLIM 814 0