I have formed a large query which fetches a large data set with the below data condition.
Column1 Column2
M1 OTH
M1 HHM
M1 RES
M2 HHM
M2 RES
M3 OTH
M3 RES
I need to form it as:
M1 OTH,HHM,RES
M2 HHM,RES
M3 OTH,RES
Any help would be appreciated.