X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 88FF7D1B508 for ; Tue, 11 Nov 2003 01:07:13 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 24675-05 for ; Mon, 10 Nov 2003 21:06:45 -0400 (AST) Received: from filter.mimos.my (filter.mimos.my [192.228.137.70]) by svr1.postgresql.org (Postfix) with ESMTP id 9939ED1B52F for ; Mon, 10 Nov 2003 21:06:40 -0400 (AST) Received: from ew.mimos.my (localhost.localdomain [127.0.0.1]) by filter.mimos.my (8.11.6/8.11.6) with ESMTP id hAB0JkE22596 for ; Tue, 11 Nov 2003 08:19:46 +0800 Received: (from root@localhost) by ew.mimos.my (8.12.8p2/8.12.3) id hAB16WaO003295 for pgsql-sql@postgresql.org; Tue, 11 Nov 2003 09:06:32 +0800 (MYT) (envelope-from wahab@mimos.my) Received: from mimos.my (sol-wel197.nat.mimos.my [10.1.23.197] (may be forged)) by ew.mimos.my (8.12.8p2/8.11.6) with ESMTP id hAB16V5f002885 for ; Tue, 11 Nov 2003 09:06:31 +0800 (MYT) (envelope-from wahab@mimos.my) Message-ID: <3FB03613.7090207@mimos.my> Date: Tue, 11 Nov 2003 09:06:27 +0800 From: Abdul Wahab Dahalan User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Query Problem X-scanner: scanned by Inflex 1.0.10 - (http://pldaniels.com/inflex/) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/105 X-Sequence-Number: 15920 Hi there! If I've a table like below. >kk kj pngk vote > >01 02 c 10 >01 02 b 5 > > How do I make a query so that I can get a result like this? > >kk kj pngk vote > >01 02 c,b 15 > > > Any help pretty much appreciated. > >