Re: WITH RECURSIVE doesn't work properly for me

Поиск
Список
Период
Сортировка
От Jing Fan
Тема Re: WITH RECURSIVE doesn't work properly for me
Дата
Msg-id CA+BectmwK1iQPmH+EtXdx2x5c6odmSp0dz3h+U92tnRJa=eGGQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WITH RECURSIVE doesn't work properly for me  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Ответы Re: WITH RECURSIVE doesn't work properly for me  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-general
Why the one inside does not do anything? It won't be executed?

Best,
Jing


On Tue, Nov 5, 2013 at 8:52 AM, Albe Laurenz <laurenz.albe@wien.gv.at> wrote:
Jing Fan wrote:
> I have two group operations.
>
> One is inside the CTE (   union
>                                    select src_id, dest_id, min(dist) ),
> another is outside the CTE.
> Do you mean that even the grouping inside the CTE will be calculated only after the CTE has been
> calculated?

I mean the one outside the CTE.

The one inside does not do anything at all, you could omit it.

Yours,
Laurenz Albe

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Junk date getting uploaded into date field
Следующее
От: Michael Nolan
Дата:
Сообщение: Re: Junk date getting uploaded into date field