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