How to do this in PostgreSQL?

Поиск
Список
Период
Сортировка
От Robert Nosko
Тема How to do this in PostgreSQL?
Дата
Msg-id NEBBLMLPILFNHKNECKIFIENOCAAA.robertn@eori.net.pl
обсуждение исходный текст
Ответ на Re: Function  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: How to do this in PostgreSQL?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi,

In ORACLE I can perform the following query:

SELECT tableA.id, title, qty
FROM tableA, (SELECT id, count(*) qty FROM tableB group by id) tableC
WHERE tableA.id = tableC.id (+)

but in PostgreSQL I get error message.
How can I perform it in Postgres?

thanks,
robert


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

Предыдущее
От: "Ingram, Bryan"
Дата:
Сообщение: Threaded Records in SQL: Advice Needed
Следующее
От: "Patrick Giagnocavo"
Дата:
Сообщение: Re: Threaded Records in SQL: Advice Needed