I have the following problem with Informix
Fail:
client username
ABC usr1
ABC usr2
CDF usr3
CDF usr4
Correct:
client username
ABC usr1, usr2
CDF usr3, usr4
What is the query correct to obtain the correct result?
I have the following problem with Informix
Fail:
client username
ABC usr1
ABC usr2
CDF usr3
CDF usr4
Correct:
client username
ABC usr1, usr2
CDF usr3, usr4
What is the query correct to obtain the correct result?
SELECT client, GROUP_CONCAT(username)
FROM someTable
GROUP BY client;
does that works ?