I have a table and I\'d like to pull one row per id with field values concatenated.
In my table, for example, I have this:
TM67 | 4 | 32556 TM67 | 9
SELECT array_to_string(array(SELECT a FROM b),', ');
Will do as well.