Hello I have browsed the forum for a while and am asking my first question here. I\'m in a bit of a bind and was wondering if I could get some help out. I am using Access 20
I'm not expert in MS Access and it is quite a long time last time I have written anything for it, but this maybe will work:
SELECT cd.DiagCode, Count(cd.CustomerID) FROM (select distinct DiagCode, CustomerID from CustomerTable) as cd Group By cd.DiagCode;