How do you do the opposite of regexp_split_to_table?

Поиск
Список
Период
Сортировка
От John Gage
Тема How do you do the opposite of regexp_split_to_table?
Дата
Msg-id 4FA8D090-F145-485B-9062-7136CB8B6CB0@numericable.fr
обсуждение исходный текст
Ответы Re: How do you do the opposite of regexp_split_to_table?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-sql
I would like to take several rows from a select and have them grouped  
into one row with the text contents of one field in all the rows  
concatenated into one field in the single row of the group group.  The  
contents of the other fields are identical across the rows.

This is the complementary action to regexp_split_to_table.

Grouping by summing numerical fields seems to be straightforward, but  
grouping by concatenating text fields escapes my search of the  
documentation.

Thanking you for your patience,

John


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Backslash characters in PLPGSQL
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: How do you do the opposite of regexp_split_to_table?