Table -
UName UType
------- -------
Sam Admin
John MOD
Smith MOD
Ayan User
MaxAxe User
Udit User
I need a single query to use GROUPING so that the output looks like this -
UType "Users"
------- -------
Admin : Sam,
MOD : John, Smith,
User : Ayan, MaxAxe, Udit,
UName UType
------- -------
Sam Admin
John MOD
Smith MOD
Ayan User
MaxAxe User
Udit User
I need a single query to use GROUPING so that the output looks like this -
UType "Users"
------- -------
Admin : Sam,
MOD : John, Smith,
User : Ayan, MaxAxe, Udit,