Based on the following table
ID Description ReleateID
-----------------------------------
1 some desc1. 50
1 some desc1. 60
2 some desc2. 50
2 some desc2. 70
3 some desc3. 80
How to get the following output
ID Description AllRelatedIDs
----------------------------------
1 some desc1. 50,60
2 some desc2. 50,70
3 some desc3. 80
Thanks.