I am kind of newbie in Oracle. Got stuck in the below: I have the below 2 tables:
Site:
**SiteID|SiteName**
1 Sydney
2 Ne
I just needed an alternative for listagg on oracle 10g and found one in this page https://oracle-base.com/articles/misc/string-aggregation-techniques.
just use wm_concat, albeit it is not supported by oracle and has been droped in 12c.
with the example above:
select
p.PeopleID,wm_concat(s.SiteName)
from people p
join site s on p.SiteID = s.SiteID
group by p.PeopleID;