X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 68F3F310803 for ; Mon, 30 Jun 2003 08:29:42 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 30788-06 for ; Mon, 30 Jun 2003 05:29:32 -0300 (ADT) Received: from filter.mimos.my (filter.mimos.my [192.228.137.70]) by svr1.postgresql.org (Postfix) with ESMTP id B4E093108F0 for ; Mon, 30 Jun 2003 05:29:30 -0300 (ADT) Received: from ew.mimos.my (localhost.localdomain [127.0.0.1]) by filter.mimos.my (8.11.6/8.11.6) with ESMTP id h5U7xpr23763 for ; Mon, 30 Jun 2003 15:59:51 +0800 Received: (from root@localhost) by ew.mimos.my (8.12.3/8.12.3) id h5U8TShp063556 for pgsql-sql@postgresql.org; Mon, 30 Jun 2003 16:29:28 +0800 (MYT) (envelope-from wahab@mimos.my) Received: from mimos.my (sol-wel197.nat.mimos.my [10.1.23.197]) by ew.mimos.my (8.12.3/8.11.6) with ESMTP id h5U8TO84063502 for ; Mon, 30 Jun 2003 16:29:27 +0800 (MYT) (envelope-from wahab@mimos.my) Message-ID: <3EFFF4DD.4060501@mimos.my> Date: Mon, 30 Jun 2003 16:29:17 +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: select column from table 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-Archive-Number: 200306/331 X-Sequence-Number: 14089 Hi everybody! I just want to know is there a way in SQL command that can handle column selection?. The case is : If I've a table with 10 columns and I want to select 8 of them without rewrite the columns/fields name in the SQL query? eg : Current SQL query is :- Select a,b,c,d,e,f,g,h from abctable; - greps 8 columns Can SQL do something like Select * from abctable without i,j ? - greps all 8 columns? Thanks.