Re: sub-select with aggregate

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: sub-select with aggregate
Дата
Msg-id 20021024081033.U20230-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: sub-select with aggregate  (Tomasz Myrta <jasiek@klaster.net>)
Ответы Re: sub-select with aggregate
Список pgsql-sql
On Thu, 24 Oct 2002, Tomasz Myrta wrote:

> Now I know the solution - to speed up this query I have to manually
> expose field from sub-query. It works fine, but I still don't know why I
> can't do this opposite way.

The system doesn't realize that it can limit the subquery when the only
things it has is the join clause and the limiting clause on the other
table.  Like Tom's message about the other view, it won't imply that
X.foo=12345 from foo=12345 when the exposed foo is B.foo.




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

Предыдущее
От: "Carlos Sousa"
Дата:
Сообщение: from postgres to oracle
Следующее
От: andres javier garcia garcia
Дата:
Сообщение: redirect query results to my (stdout) screen