At 11:06 AM 6/21/06, virgi@lettere.unipd.it wrote:
>returns:
> id | nick
>------+------
>22192 | A
>22192 | T
>(2 rows)
>
>I'd like to get the result in only one row:
> id | nick
>------+------
>22192 | A,T
This question is in the archives (probably more than once). The answer is...
Read the online docs about aggregate functions. There is an example that
does (almost) exactly what you are asking.