I have a table with ID and location columns and I'm trying to combine multiple rows into comma separated listed. For eg:
Source table: ID Location Name
1 USA Bob
1 Brazil Bob
1 Russia Bob
2 India Emily
2 China Emily
My target table should get the values like this
Target table: ID Location Name
1 USA, Brail, Russia Bob
2 India, China Emily
How can I Perform this using oracle 11g R2?