dharkangel
MIS
Hello,
I was wondering if this was possible. I have a table with two fields (UserName and Role) with the following values:
UserName Role
---- ____
Smith, James ETM
Jones, Rodney EUM
Jones, Rodney EUM
Thompson, Dennis EUM
Johnson, Abe PD
Johnson, Abe PD
Johnson, Abe PD
Wllkins, Suzanne PD
Tam, Sarah PT
I was wondering if it was possible to write a query that would count the values in the Role field once per UserName?
So if I could use this query to count EUM it would give me a value of 2. PD would be 2.
Thank you,
I was wondering if this was possible. I have a table with two fields (UserName and Role) with the following values:
UserName Role
---- ____
Smith, James ETM
Jones, Rodney EUM
Jones, Rodney EUM
Thompson, Dennis EUM
Johnson, Abe PD
Johnson, Abe PD
Johnson, Abe PD
Wllkins, Suzanne PD
Tam, Sarah PT
I was wondering if it was possible to write a query that would count the values in the Role field once per UserName?
So if I could use this query to count EUM it would give me a value of 2. PD would be 2.
Thank you,