C
CJ
Hi Groupies
I know that there are a number of posts regarding Distinct Count on the net
but I just can not make mine work.
I have tblDailyBoxes that keeps track of who planted which flowers from
which box. I need to count the number of different planters each day and
show the date and the count in the result.
I have figured out the SQL to show just the total number of different
planters for the entire table with:
SELECT Count(tblDailyBoxes.lngEmpID) AS PlanterCount
FROM [SELECT DISTINCT lngEmpId FROM tblDailyBoxes]. AS TEST;
However, I can not get my head around the syntax for including the field,
dtmDate, from the same table.
Can somebody please help me out with this before I lose it completely!!
I know that there are a number of posts regarding Distinct Count on the net
but I just can not make mine work.
I have tblDailyBoxes that keeps track of who planted which flowers from
which box. I need to count the number of different planters each day and
show the date and the count in the result.
I have figured out the SQL to show just the total number of different
planters for the entire table with:
SELECT Count(tblDailyBoxes.lngEmpID) AS PlanterCount
FROM [SELECT DISTINCT lngEmpId FROM tblDailyBoxes]. AS TEST;
However, I can not get my head around the syntax for including the field,
dtmDate, from the same table.
Can somebody please help me out with this before I lose it completely!!