pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Elizabeth O'Neill's Office Mail <elizabeth.oneill@abcmail.co.uk>
To: pgsql-sql@postgresql.org
Subject: SQL syntax for concating values in different rows together
Date: Tue, 10 Dec 2002 12:27:34 +0000
Message-ID: <BA1B8E36.1C25%elizabeth.oneill@abcmail.co.uk> (raw)

Hi 

Can someone please help me.

I have two tables in my database a complaint table and a resolution table.
One complaint may have several resolutions. I am trying to build a report
that will give me the complaint details and all the resolution descriptions
for a complaint in one text area/row (concated together).

At the moment it is repeating the complaint details for each resolution.

Any help would be gratefully received

Cheers

Liz





view thread (3+ messages)  latest in thread

Message-ID: <BA1B8E36.1C25%elizabeth.oneill@abcmail.co.uk>
Permalink:  ../BA1B8E36.1C25%25elizabeth.oneill@abcmail.co.uk/
Also on:    postgresql.org/message-id/BA1B8E36.1C25%elizabeth.oneill@abcmail.co.uk

 · 

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: elizabeth.oneill@abcmail.co.uk
  Subject: Re: SQL syntax for concating values in different rows together
  In-Reply-To: <BA1B8E36.1C25%elizabeth.oneill@abcmail.co.uk>

* 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