| От | Tom Lane |
|---|---|
| Тема | Re: ORDER BY does not work as expected with multiple joins |
| Дата | |
| Msg-id | 25011.1137164168@sss.pgh.pa.us обсуждение |
| Ответ на | ORDER BY does not work as expected with multiple joins (Adam Rosi-Kessel <adam@rosi-kessel.org>) |
| Ответы |
Re: ORDER BY does not work as expected with multiple joins
|
| Список | pgsql-sql |
Adam Rosi-Kessel <adam@rosi-kessel.org> writes: > I have a multijoin SELECT statement where the ORDER BY clause doesn't > seem to be working. You haven't mentioned your Postgres version, nor provided anywhere near enough information to let other people reproduce the problem. You might find it helpful to read this: http://www.postgresql.org/docs/8.1/static/bug-reporting.html One comment is that your joining seems wrong: I'd have thought the RIGHT JOIN should be LEFT JOIN for what you're trying to do. But that shouldn't make any difference to whether the sort order is correct. regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера