| От | Stephan Szabo |
|---|---|
| Тема | Re: DISTINCT ... ORDER BY |
| Дата | |
| Msg-id | 20031105131518.C12206@megazone.bigpanda.com обсуждение |
| Ответ на | Re: DISTINCT ... ORDER BY (Nabil Sayegh <postgresql@e-trolley.de>) |
| Ответы |
Re: DISTINCT ... ORDER BY
|
| Список | pgsql-novice |
On Wed, 5 Nov 2003, Nabil Sayegh wrote: > Stephan Szabo wrote: > > > Your step 3 above isn't well defined in general. There's no single place > > in the sort order for a value of a column being distincted when the value > > occurs multiple times. In the data above, col1='b' occurs twice in the > > sort order and you need to give an indication of which place in the sort > > order you want to use. > > Ok, let's look for alternatives. Well, what did you get when you tried something like Bruno's updated example or my group by one, and lets work from there.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера