So I've got this table
Email                     Username
------------------------- -------------------------
a@a.com                   a1                       
a@a.com                   a2                       
a@a.com                   a3                       
a@a.com                   a4                       
b@b.com                   b1                       
b@b.com                   b2                       
b@b.com                   b3                       
b@b.com                   b4                       
c@c.com                   c1                       
c@c.com                   c2                       
c@c.com                   c3                       
c@c.com                   c4                       
(12 row(s) affected)
But I want each e-mail address to appear once, then all associated Usernames to be listed after it, if that's possible..
Any help whatsoever is appreciated, Cheers.
Edit
Ok, so apparently, all the usernames will come under one column, all concatenated together, sounds kinda dumb, but that's what I've been asked for.
The output I want would be
Email                     Username
------------------------- -------------------------
a@a.com                   a1, a2, a3, a4
b@b.com                   b1, b2, b3, b4 
c@c.com                   c1, c2, c3, c4 
d@d.com                   d1, d2, d3, d4 
 
     
    