Re: SELECT DISTINCT ON removes results
| От | Geoff Winkless |
|---|---|
| Тема | Re: SELECT DISTINCT ON removes results |
| Дата | |
| Msg-id | CAEzk6fdpXWWpZxZJbhLoEC3qE-zCaFg8uXU6gxiwNZpavu30Bg@mail.gmail.com обсуждение исходный текст |
| Ответ на | SELECT DISTINCT ON removes results (Guyren Howe <guyren@gmail.com>) |
| Список | pgsql-general |
Using 9.5, this query:
The DISTINCT ON expression(s) must match the leftmost ORDER BY expression(s). The ORDER BY clause will normally contain additional expression(s) that determine the desired precedence of rows within each DISTINCT ON group.
Does the problem go away if you do that?
Geoff
В списке pgsql-general по дате отправления: