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

Hi All,
I would like to concatenate results of a single column query using
PostgreSQL 7.3.

Something like the coming feature

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

(devel docs for 7.5:
http://developer.postgresql.org/docs/postgres/sql-expressions.html )

Any suggestions?

Thanks
Marco




view thread (6+ messages)  latest in thread

Message-ID: <1082303095.5913.3.camel@macbeth.intranet.noze.it>
Permalink:  ../1082303095.5913.3.camel@macbeth.intranet.noze.it/
Also on:    postgresql.org/message-id/1082303095.5913.3.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: marcomail@noze.it
  Subject: Re: Concatenate results of a single column query
  In-Reply-To: <1082303095.5913.3.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