J
James
So I have a database, and I'm trying to find out how many users there are
per branch. Sometimes the users name repeats, so I used the distinct
function, and I used the count function to get the total users. Then I want
to show what their location is, so I also selected location.
This does not work together...what am I doing wrong?
SELECT DISTINCT (Count([Group_Summary].[User])) AS TotalUsr,
Group_Summary.[Location]
FROM Group_Summary;
per branch. Sometimes the users name repeats, so I used the distinct
function, and I used the count function to get the total users. Then I want
to show what their location is, so I also selected location.
This does not work together...what am I doing wrong?
SELECT DISTINCT (Count([Group_Summary].[User])) AS TotalUsr,
Group_Summary.[Location]
FROM Group_Summary;