I have to perform a division on two field to find the average. example: tbl.contact / tbl.count
How do I check to ensure that when tbl.count is 0 then don't perform the calculation? I've tried the following but it doesn't work:
DECODE(tbl.count, tbl.count > 0, tbl.contact / tbl.count,0 )
the...