| От | Roger Mason |
|---|---|
| Тема | Re: select from grouped data |
| Дата | |
| Msg-id | y65v93pemxy.fsf@mun.ca обсуждение исходный текст |
| Ответ на | Re: select from grouped data (Stephen Frost <sfrost@snowman.net>) |
| Список | pgsql-novice |
Stephen Frost writes: > > It’s generally better as it follows the SQL standard and is more flexible > as it allows you to get top-N, as I said. DISTINCT ON has always been a > hack and its use should be discouraged at this point. > > When an UPSERT capability exists in the actual standard then it’s use > should be promoted over other hacks that various vendors have implemented > also. OK, thanks, I've filed this discussion away for future reference. Meanwhile I'm having trouble getting this function to work as a trigger. I'll start another thread on that. Thanks again. Roger
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера