I have a database with email and phone columns. One email can have several phones, which results in multiple rows with same email but different phone numbers.
I want to query all emails with it's phones grouped in one single column.
Example
Convert from this
11111  mail@mail.com
22222  mail@mail.com  
33333  mail@mail.com
44444  mail@mail.com
To this
mail@mail.com  11111, 22222, 33333, 44444
Thanks!
 
     
    