select on multiple tables

Поиск
Список
Период
Сортировка
От Carterette, Ben
Тема select on multiple tables
Дата
Msg-id E8730F1847CDD411B00100B0D07971D58CCC0D@MAIL
обсуждение исходный текст
Ответы Re: select on multiple tables
Список pgsql-jdbc
I apologize in advance if this isn't the right place to ask this.

I have a query like "SELECT * FROM table1, table2" and I want to read values
out of a ResultSet.  What if the two tables have column names in common and
I can't predict the column numbers?  Is there any way to get table1.id and
table2.id?  rs.getString tells me "The column name table1.id not found."

thanks much

ben

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "chris markiewicz"
Дата:
Сообщение: RE: hangs while getting large objects...
Следующее
От: Rene Pijlman
Дата:
Сообщение: Re: select on multiple tables