I'm trying to come up with an Access query which is equivalent to this oracle query
select ledef_name,
count(class.EVT_PK) timesTaught
from ingenium.ledef course,
ingenium.evt class
where course.LEDEF_PK = class.EVT_LEDEFFK(+)
and class.EVT_STARTDT(+) > to_date('2009-01-01', 'yyyy-mm-dd')
group by ledef_name
In access I have
SELECT course.ledef_name, Count(class.EVT_PK) AS timesTaught
FROM INGENIUM_LEDEF AS course LEFT JOIN INGENIUM_EVT AS class ON course.LEDEF_PK = class.EVT_LEDEFFK
WHERE class.EVT_STARTDT>#1/1/2009#
GROUP BY course.ledef_name;
In the Oracle version I get rows with a 0 count but in Access those rows are missing. What is the access syntax to include rows where there is no match in class to a row in course?