| От | Jerome Knobl |
|---|---|
| Тема | Subquery problems |
| Дата | |
| Msg-id | 35D14F37.13118C6@mandanet.ch обсуждение исходный текст |
| Ответы |
Re: [SQL] Subquery problems
|
| Список | pgsql-sql |
Hello, I'm trying to build some subquery, and it don't works like I want. I try the following query : select distinct pseudo, (select count(ref) from questions where questions.refpseudo=pseudos.refold) as xxx from pseudos; That query work well on MSAccess, but I have the following error on postgres : ERROR: parser: parse error at or near "select" I must maybe using an other method. I'm want to optain in a simple query to list some name of my table pseudos and to see the number of occurency in the table questions. Thank. Jérôme Knöbl, Switzerland
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера