I am trying to combining duplicate rows into one row based on column value. If Two rows have same data and if “Location” Column have different values the Combine two rows and “Location” Should be in one row
Original Data:
Name | company | Location |
---|---|---|
Ramesh | abc | chennai |
Raju | ghi | hyderabad |
Ramesh | abc | pune |
Ruteesh | xyz | mumbai |
Krishna | dcf | noida |
Krishna | dcf | hyderabad |
Name | company | Location |
---|---|---|
Ramesh | abc | chennai, pune |
Raju | ghi | hyderabad |
Ruteesh | xyz | mumbai |
Krishna | dcf | noida, hyderabad |