| От | Richard Broersma Jr |
|---|---|
| Тема | Re: aggregate function ? |
| Дата | |
| Msg-id | 829651.67189.qm@web31804.mail.mud.yahoo.com обсуждение |
| Ответ на | Re: [NOVICE] aggregate function ? (coder@montx.com) |
| Список | pgsql-novice |
--- coder@montx.com wrote: > > ERROR: missing FROM-clause entry in subquery for table "a1" > estat SQL: 42P01 > Caràcter: 254 > > > This line ' WHERE A1.numero=11189 ' must change as this: > > 'WHERE A1.compte='572000001' as the values must be from the same 'compte' Yes, it sounds like there is a relationship in your datamodel that I am not able to precieve across emails. If there is a relationship between compte and numero, you should be able to connect this relationship up in the SQL select query. It is hard to know what the error is being produced by. can you send the actual query that you are posting and it resulting error message. Regards, Richard
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера