@@ -6,7 +6,7 @@ select t1.tagentsid,
t1.fcontact,
t1.fphonenumber,
t1.fbrand,
- t1.fisused
+ t1.fisused,
(stuff((select ',' + fprodclassname from tagents_prodclass where siteid = t1.siteid and tagentsid=t1.tagentsid for xml path('')),1,1,'')) as fprodclassname,
count(t2.tenterprise_userid) as fteamsize,
max(t3.flastrequestdate)as flastrequestdate