| От | btober@ct.metrocast.net |
|---|---|
| Тема | Re: Combining data in different rows? |
| Дата | |
| Msg-id | 459AC64C.9040509@ct.metrocast.net обсуждение исходный текст |
| Ответ на | Re: Combining data in different rows? (Bruno Wolff III <bruno@wolff.to>) |
| Список | pgsql-general |
Bruno Wolff III wrote: > On Tue, Jan 02, 2007 at 12:33:14 -0700, > Anthony Masinton <amasinton@gmail.com> wrote: > >> I would like to combine data from different rows in one column into >> one row. >> >> ... >> >> Is this possible and if so, how? >> > > Collapsing rows is done with aggregate functions. You can write a custom > aggregate that collapses the wills for a particular city. How you do this > depends on how you want to store the combined wills (e.g. array, text string). > Check out the User Comments section at "http://www.postgresql.org/docs/8.0/interactive/sql-createaggregate.html"
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера