X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6C5169DCC58 for ; Sat, 4 Mar 2006 00:45:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30932-05 for ; Sat, 4 Mar 2006 00:45:48 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by postgresql.org (Postfix) with ESMTP id 5331B9DCABE for ; Sat, 4 Mar 2006 00:45:47 -0400 (AST) Received: by zproxy.gmail.com with SMTP id z31so851326nzd for ; Fri, 03 Mar 2006 20:45:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=LanTrB1ASOFGKXgNBflEFWxnuaMncRgvJeevW5Zvrr9eQCR8V5DS0TZW/e6YnrpWwX0eD2biBQsr1g/Muzw95mCAbLZkNb/7rbNZJU3B4nlFNDisH5bU/zaa/Est367Sr7ig2Q75LjuHsCpacm0TNi2MT3yEK0wKD7h0s5QyjrM= Received: by 10.36.222.12 with SMTP id u12mr200344nzg; Fri, 03 Mar 2006 20:45:46 -0800 (PST) Received: by 10.36.59.14 with HTTP; Fri, 3 Mar 2006 20:45:46 -0800 (PST) Message-ID: Date: Sat, 4 Mar 2006 10:15:46 +0530 From: "sathish kumar shanmugavelu" To: pgsql-jdbc@postgresql.org Subject: Aggregate function for a text column MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3278_4604045.1141447546680" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.081 required=5 tests=[AWL=0.080, HTML_MESSAGE=0.001] X-Spam-Score: 0.081 X-Spam-Level: X-Archive-Number: 200603/16 X-Sequence-Number: 14797 ------=_Part_3278_4604045.1141447546680 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dear Group, I have a table with a column named Supplier_Name supplier_name =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 ------=_Part_3278_4604045.1141447546680 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dear Group,
    I have a table with a column named Supplier_Name
 
    supplier_name
    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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, V= ela 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 ------=_Part_3278_4604045.1141447546680--