Re: SELECT DISTINCT ON removes results

Поиск
Список
Период
Сортировка
От Guyren Howe
Тема Re: SELECT DISTINCT ON removes results
Дата
Msg-id 1899F60F-A8F6-41A0-9A56-1A7C824A0E56@gmail.com
обсуждение исходный текст
Ответ на Re: SELECT DISTINCT ON removes results  (Guyren Howe <guyren@gmail.com>)
Ответы Re: SELECT DISTINCT ON removes results  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On Oct 28, 2016, at 14:15 , Guyren Howe <guyren@gmail.com> wrote:

On Oct 28, 2016, at 13:50 , David G. Johnston <david.g.johnston@gmail.com> wrote:

​On its face the statement "DISTINCT ON removes results" is not at all surprising given its definition.

What is surprising is that it removes *all* results…

The inner query on its own appears to produce the same results, but the left join with it in either case produces different results.

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

Предыдущее
От: Guyren Howe
Дата:
Сообщение: Re: SELECT DISTINCT ON removes results
Следующее
От: Guyren Howe
Дата:
Сообщение: Re: SELECT DISTINCT ON removes results