HairyMonkeyMan
January 13th, 2006, 04:07 AM
Hi people :)
I have this sql statement:
SELECT Project_Category.*, COUNT(ProjectNo) AS ProjectCount
From Project_Category, Project
WHERE Project.[Project Category] = Project_Category.ProjectCategory
GROUP BY ProjectCategory, ProjectCategoryDesc
ORDER BY ProjectCategory
I am counting related records (i.e Projects within certain project categories). This code works, but does not show project categories with no related projects. Any ideas how to do this?
Thanks for your time :wave:
I have this sql statement:
SELECT Project_Category.*, COUNT(ProjectNo) AS ProjectCount
From Project_Category, Project
WHERE Project.[Project Category] = Project_Category.ProjectCategory
GROUP BY ProjectCategory, ProjectCategoryDesc
ORDER BY ProjectCategory
I am counting related records (i.e Projects within certain project categories). This code works, but does not show project categories with no related projects. Any ideas how to do this?
Thanks for your time :wave: