pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Andrei Bintintan <klodoma@ar-sd.net>
To: pgsql-sql@postgresql.org
Subject: Re: SQL query --- big question???
Date: Fri, 12 Mar 2004 15:20:19 +0000
Message-ID: <200403121520.19774.dev@archonet.com> (raw)
In-Reply-To: <007e01c4083f$5fb78100$0b00a8c0@forge>
References: <007e01c4083f$5fb78100$0b00a8c0@forge>

On Friday 12 March 2004 14:36, Andrei Bintintan wrote:
> Hi to all,
>
> I have a big question.
>
> Can I write a query/function/agregate function (whatever) so that I can
> return the result of a query in a single line? I don't know if this is
> possible to be made and please if it is not possible please say.

You're best doing this in the application really.

However, if you only want to work with text, search the mailing list archives 
using keywords like: 
  text concat aggregate 
and you should see an example solution where you build your own aggregate 
function.

-- 
  Richard Huxton
  Archonet Ltd



view thread (2+ messages)

Message-ID: <200403121520.19774.dev@archonet.com>
Permalink:  ../200403121520.19774.dev@archonet.com/
Also on:    postgresql.org/message-id/200403121520.19774.dev@archonet.com

 · 

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: dev@archonet.com, klodoma@ar-sd.net
  Subject: Re: SQL query --- big question???
  In-Reply-To: <200403121520.19774.dev@archonet.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