pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marco Lazzeri <marco.lazzeri@noze.it>
To: pgsql-sql@postgresql.org
Subject: Concatenate results of a single column query
Date: Sun, 18 Apr 2004 16:36:49 +0200
Message-ID: <1082299009.5788.6.camel@macbeth.intranet.noze.it> (raw)

Hi All,
I would like to concatenate results of a single column query, something
like the futurable (dev docs for 7.5)

SELECT
  p.name, ARRAY(SELECT nicknames FROM people WHERE people.id = p.id)
FROM people AS p

Any suggestions?

Thanks
Marco




view thread (6+ messages)  latest in thread

Message-ID: <1082299009.5788.6.camel@macbeth.intranet.noze.it>
Permalink:  ../1082299009.5788.6.camel@macbeth.intranet.noze.it/
Also on:    postgresql.org/message-id/1082299009.5788.6.camel@macbeth.intranet.noze.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: marco.lazzeri@noze.it
  Subject: Re: Concatenate results of a single column query
  In-Reply-To: <1082299009.5788.6.camel@macbeth.intranet.noze.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox