On Thu, Nov 10, 2011 at 8:34 AM, Thomas Kellerer <spam_eater@xxxxxxx> wrote:
wow, yes that is cleaner.
SELECT type,
string_agg(color, ',') as organized_by_type
FROM clothes
GROUP BY type;
Thank you for taking the time - obviously I need to read through the string functions again.