PHP/Postgres Query

Поиск
Список
Период
Сортировка
От sid@questions.com
Тема PHP/Postgres Query
Дата
Msg-id aevvi2$22tf$1@news.hub.org
обсуждение исходный текст
Список pgsql-general
Hi all,

I have some 5 views created with me, my job is to pass these to an XML
stylesheet. The views have a common key that can be used to take a join on
all 5. But the problem is that for 4/5 views the common key has more than
one entry in the view-table.
eg
View A                    View B                          View C ..
K1   A1                K1  B1                            K2    C1
                             K1  B2
                             K1  B3
K2   A1                K2  B1

In the views B,C,... the common key can have 0 or more values. I need to
print a report that has the common key K1 and   rest of the values picked
from the remaining tables. I believe this should be possible just struggling
would appreciate all kinds of help.

Thanks

Sid








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

Предыдущее
От: "Mr. Sandman"
Дата:
Сообщение: Re: URGENT: Performance tuning
Следующее
От: benc1@today.com.au (Ben C)
Дата:
Сообщение: Redirecting Output