In one of my queries it appears that the AVG function is returning an int. select ..., AVG(e.employee_level)avg_level How do I get it to return floating point values? I tried casting it but all my rows for avg_level were still integers. Continue reading...