pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sathish kumar shanmugavelu <sathishkumar.shanmugavelu@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Aggregate function for a text column
Date: Sat, 4 Mar 2006 10:15:46 +0530
Message-ID: <ee0ad3a30603032045wce1df2ao959a673205cd9f44@mail.gmail.com> (raw)

Dear Group,
    I have a table with a column named Supplier_Name

    supplier_name
    ==========
Praveen Systems
Zigma Systems
HCL Tech
Vela Book Shop
Senthil Books
Usha Electricals
National Scientific Company
Indian Oil Corporation

Now i want a result like below
      'Praveen Systems, Zigma Systems, HCL Tech, Vela Book Shop, Senthil
Books, Usha,
Electricals, National Scientific Company, Indian Oil Corporation'

is it possible in a single query

help me
--
Sathish Kumar.S
SpireTEK

view thread (2+ messages)  latest in thread

Message-ID: <ee0ad3a30603032045wce1df2ao959a673205cd9f44@mail.gmail.com>
Permalink:  ../ee0ad3a30603032045wce1df2ao959a673205cd9f44@mail.gmail.com/
Also on:    postgresql.org/message-id/ee0ad3a30603032045wce1df2ao959a673205cd9f44@mail.gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: sathishkumar.shanmugavelu@gmail.com
  Subject: Re: Aggregate function for a text column
  In-Reply-To: <ee0ad3a30603032045wce1df2ao959a673205cd9f44@mail.gmail.com>
  References: <ee0ad3a30603032045wce1df2ao959a673205cd9f44@mail.gmail.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