SQL query - single text value from group by - Mailing list pgsql-general

From mike
Subject SQL query - single text value from group by
Date
Msg-id 1094658334.6956.14.camel@datacc
Whole thread Raw
Responses Re: SQL query - single text value from group by
List pgsql-general
Hi

I am trying to work out if this is possible in a select query

I have a group by query which could result in several rows, what I want
to do is do a text equivalent of a sum() eg:

SELECT sum(inv_id),date,cust
from invoice
group by date,cust

Is there any way to get to a single concatenated inv_id field with just
one row?

thanks

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: import mysql database...
Next
From: Richard Huxton
Date:
Subject: Re: SQL query - single text value from group by