select distinct stuff(( select ',' + u.username from users u where u.username = username order by u.username for xml path('') ),1,1,'') as userlist from users group by username
had a typo before, the above works
2.1m questions
2.1m answers
60 comments
57.0k users