I have to replace the Oracle driver with the newest PostgreSQL. PostgreSQL doesn\'t know the function LISTAGG. I have to concat values by comma separated. What\
concat
From Postgres 9.0 or later, I believe you could do something like this:
SELECT c_id, STRING_AGG(c_grp_id, ',' ORDER BY c_grp_id) AS group_ids FROM c_grp_at GROUP BY c_id