Oracle: Combine multiple results in a subquery into a single comma-separated value

Jason Cohen picture Jason Cohen · Jan 29, 2009 · Viewed 36.4k times · Source

I'm trying to convert a single-columned subquery into a command-separated VARCHAR-typed list of values.

This is identical to this question, but for Oracle rather than SQL Server or MySQL.

Answer

Justin Cave picture Justin Cave · Jan 29, 2009

There is an excellent summary of the available string aggregation techniques on Tim Hall's site.