Hello Experts,
I have the below query. It works fine, but the results does not show the rows which have count as zero. Could you please review and help me re-write this query so that those profnames whose count is zero is also displayed.
select a.profname as Names, count(b.devid) as ESTIMATED_COUNT from EMS_PROF a, EMS_DEVICE b, EMS_DEVICE2PROF c where b.DEVID=c.DEVID and c.PROFID=a.PROFID group by a.profname;
Thanks,
Addy