| От | Bruno Wolff III |
|---|---|
| Тема | Re: PQftable insufficient for primary key determination |
| Дата | |
| Msg-id | 20040716030442.GA27871@wolff.to обсуждение исходный текст |
| Ответ на | PQftable insufficient for primary key determination (mmc@maruska.dyndns.org (Michal Maruška)) |
| Ответы |
Re: PQftable insufficient for primary key determination
|
| Список | pgsql-general |
On Fri, Jul 16, 2004 at 03:38:52 +0200, Michal Maru?ka <mmc@maruska.dyndns.org> wrote: > > > Imagine i have a table A with primary key "p" and another attribute called "data": > > SELECT * from A, A, B; > > here, i will have 2 columns "data", PQftable tells me that they are from A, but > which of the 2 columns "p" is the primary key of the tuple (of the table A)? > > > Is it possible to get distinguish the 2 instances of the table A? You can use aliases to distinguish between two references to the same table in a query. Your question doesn't make a lot of sense though, since you haven't said which of the two copies of A you are interested in.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера