| От | Peter Eisentraut |
|---|---|
| Тема | RE: select on multiple tables |
| Дата | |
| Msg-id | Pine.LNX.4.30.0108211823290.856-100000@peter.localdomain обсуждение исходный текст |
| Ответ на | RE: select on multiple tables ("Dave Cramer" <Dave@micro-automation.net>) |
| Список | pgsql-jdbc |
Dave Cramer writes: > Unfortunately id doesn't return A.c and B.c. Try it in psql... > > One way to solve this is to fix the backend to return fully qualified > column names. The backend is doing the right thing. In the most general case of a complex join you don't even know what table a column came from. If you have ambiguous names you should be using AS clauses or JOIN syntax. SQL actually requires to raise an error if you have duplicate output column names, IIRC. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера