Hi, I'm facing the following problem:
I have a table (called stats) which has 2 text fields: "user" and "document" (among others). In this table we keep the accesses to certain documents.
For example:
user document
usrA docA
usrA docA
usrA docA
usrA docB
usrA docC
usrB docB
usrB docC
usrC docA
usrC docA
usrC docA
I need the output to the query to be:
user accessed docs total
usrA 3
usrB 2
usrC 1
I need a ranking of users ordered by distinct document accessed amount.
We need to know who are the users who accessed to more documents.
As far as I know, MS Access do not accept the COUNT(DISTINCT...) clause.
Any ideas? I appreciate any help.
Thanks in advance,
fabilewk
P.S. Excuse me for my poor English