Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3DFAB9FA2B1 for ; Wed, 5 Sep 2007 05:36:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 80562-05-2 for ; Wed, 5 Sep 2007 05:36:07 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from mail01.enterprisedb.com (webmail.enterprisedb.com [63.246.7.168]) by postgresql.org (Postfix) with ESMTP id 1E15C9FA264 for ; Wed, 5 Sep 2007 05:36:09 -0300 (ADT) thread-index: Acfvl9cVuLV0J+3LQ9qR2U/vfFvedw== Received: from [172.24.32.97] ([62.232.55.118]) by mail01.enterprisedb.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Sep 2007 04:36:22 -0400 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Message-ID: <46DE6A3A.5000409@enterprisedb.com> Date: Wed, 05 Sep 2007 09:35:06 +0100 From: "Heikki Linnakangas" User-Agent: Icedove 1.5.0.12 (X11/20070730) MIME-Version: 1.0 To: "Miguel Angel ." Cc: Subject: =?iso-8859-1?Q?Re:_=5BJDBC=5D_Questi=F3n_of_JDBC?= References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Sep 2007 08:36:22.0984 (UTC) FILETIME=[D7046C80:01C7EF97] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/12 X-Sequence-Number: 17434 Miguel Angel . wrote: > Something thus: > SELECT * FROM tableA INNER JOIN tableB USING(column); > > columnA | columnB > ------------------ > 10 | 20 > > I need this: > > query > ------- > columnA > columnB > > This can be obtained by means of the JDBC? Yes, see ResultSet.getMetaData(). -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com