Combine, Merge, Concatenate

Поиск
Список
Период
Сортировка
От Andrej Kastrin
Тема Combine, Merge, Concatenate
Дата
Msg-id 1138014382.12975.11.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: Combine, Merge, Concatenate  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Dear pgsql users,

I have a problem, which is quite hard to solve it in Perl (for me, of
course). I have to tables, which looks like

First Table:

1|001|002|003
2|006|04|002

Second Table:

001|text1|text2|text3
002|text6|text1|text2

Now I would like to concatenate this two tables into new table:

Third Table:

1|text1|text2|text3|text6 *
2|etc

*Notes; key=1 from first table; substitute 001 from first table with
text1|text2|text3 and 002 with text6 etc...

Is that possible in pgsql?

Thanks in advance for any notes and suggestions,

Cheers, Andre


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

Предыдущее
От: "Praveen Kumar (TUV)"
Дата:
Сообщение: Full Text Indexing Using Tsearch2-Module
Следующее
От: Edmund
Дата:
Сообщение: Re: joining tables