From: Dmitri Bichko <dbichko@aveopharma.com>
To: pgsql-sql@postgresql.org
Subject: Re: interesting SQL puzzle - concatenating column with itself.
Date: Tue, 10 May 2005 17:53:59 -0400
Message-ID: <7A4ADADFC8AFF0478D47F63BEDD57CE3A27953@gpmail.gphq.genpathpharma.com> (raw)
> SELECT your_concat( memo_text ) FROM
> (SELECT memo_id, sequence, memo_text FROM table ORDER BY memo_id,
sequence
> OFFSET 0) AS foo
> GROUP BY memo_id
I'm just curious - what's the 'OFFSET 0' for?
Dmitri
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: dbichko@aveopharma.com
Subject: Re: interesting SQL puzzle - concatenating column with itself.
In-Reply-To: <7A4ADADFC8AFF0478D47F63BEDD57CE3A27953@gpmail.gphq.genpathpharma.com>
* 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