LISTAGG alternative in Oracle 10g
问题 I am kind of newbie in Oracle. Got stuck in the below: I have the below 2 tables: Site: **SiteID|SiteName** 1 Sydney 2 Newyork 3 Delhi People: **RecordID|PeopleID|SiteID** 1 1 1 2 1 2 3 2 2 4 3 1 5 3 2 6 3 3 Now in my query I want an output something like this: **PeopleID | AssignedSites** 1 Sydney,NewYork 2 Newyork 3 Sydney,NewYork,Delhi Few more points: -The solution should work in Oracle 10g as well as 11g also. -I have given small subset of data in the above example for brevity.But, in my