Re: Result of ORDER-BY
| От | Good Day Books |
|---|---|
| Тема | Re: Result of ORDER-BY |
| Дата | |
| Msg-id | 11793C2969EE4289A2E934D8CA3978FC@GDBMain обсуждение исходный текст |
| Ответ на | Result of ORDER-BY ("Good Day Books" <goodday@gol.com>) |
| Список | pgsql-general |
> See the other remark in this thread about GROUP BY and ORDER BY. Note > that GROUP BY used to cause ORDER BY every time, because it was always > implemented with a sort. That hasn't been true for several releases, > and if you're relying on that side effect it could be the cause of > this, although it's pretty surprising that you still got A, B, C in > that case. In any case, you definitely need an ORDER BY category > here, too. Does that make a difference? > > You might also want to look at your collation. Sort orders are > notorious for being surprising across collations. What's this one? Thank you very much for your reply. Yes, I tried ORDER BY, and the result is the same. I am not sure about collations; I guess I will have to read up on this subject.
В списке pgsql-general по дате отправления: