Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 291D515B0F6C for ; Thu, 2 Feb 2012 01:32:19 -0400 (AST) Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RspHN-0002zD-QW for pgsql-sql@postgresql.org; Thu, 02 Feb 2012 05:32:18 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RspHA-0007vr-UN for pgsql-sql@postgresql.org; Wed, 01 Feb 2012 21:32:04 -0800 Date: Wed, 1 Feb 2012 21:32:04 -0800 (PST) From: tiplip To: pgsql-sql@postgresql.org Message-ID: <1328160724935-5449662.post@n5.nabble.com> In-Reply-To: <59D2E8F6-962D-4DDC-96C0-5985AE0F4D9A@yahoo.com> References: <1328159813393-5449642.post@n5.nabble.com> <59D2E8F6-962D-4DDC-96C0-5985AE0F4D9A@yahoo.com> Subject: Re: Multiple tables query on Mapserver MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.3 (/) X-Archive-Number: 201202/6 X-Sequence-Number: 36299 I just need gid or id in increasing order start from 0 (or 1), fetching their original gid (or id) value is not necessary:) can I do that? David Johnston wrote > > > The general method is to use "UNION" but not sure about the changing of > the gid and id values... > > David J. > -- > Sent via pgsql-sql mailing list (pgsql-sql@) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-sql > -- View this message in context: http://postgresql.1045698.n5.nabble.com/Multiple-tables-query-on-Mapserver-tp5449642p5449662.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com.