> -----Original Message----- > From: [email protected] [mailto:pgsql-sql- > [email protected]] On Behalf Of Oliver d'Azevedo Cristina > Sent: Wednesday, November 28, 2012 1:42 PM > To: JORGE MALDONADO > Cc: [email protected] > Subject: Re: [SQL] Joining several rows into only one > > You need to use the array_agg() and array_to_string() functions. >
Or you can skip directly to the "string_agg(expression, delimiter)" function. See http://www.postgresql.org/docs/9.2/interactive/functions-aggregate.html for more information on aggregate-related functions. David J. -- Sent via pgsql-sql mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql
