merge multiple records into 1 - Mailing list pgsql-general

From Brian Maguire
Subject merge multiple records into 1
Date
Msg-id 2F2E24372F10744588A27DEECC85FE040103E7EB@vt-pe2550-001.vantage.vantage.com
Whole thread Raw
Responses Re: merge multiple records into 1  (Bruno Wolff III <bruno@wolff.to>)
Re: merge multiple records into 1  (CoL <col@mportal.hu>)
List pgsql-general
What would be the best way to "flatten" a set of records into one column with a query? 

example:

You have a table called tbletters

id letters
1      a
2      b
3      c
4      d

So I can return this as one column in one record

a,b,c,d 

 

 

 


pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: The ..... worm
Next
From: Joe Conway
Date:
Subject: Re: determine how many matches of a string in a field