Re: error joining 2 views containing GROUP BYs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error joining 2 views containing GROUP BYs
Дата
Msg-id 17919.984457255@sss.pgh.pa.us
обсуждение исходный текст
Ответ на error joining 2 views containing GROUP BYs  ("david morgan" <david_morgan@s4c.co.uk>)
Список pgsql-sql
"david morgan" <david_morgan@s4c.co.uk> writes:
>     I am having a few problems using a select query which joins two views
> containing aggregate functions (see query 1 below).

I don't think there's any chance of making that work in pre-7.1
Postgres.  Sorry :-(.

As a workaround, consider selecting the grouped data into temp tables
and then joining the temp tables.
        regards, tom lane


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

Предыдущее
От: Cliff Crawford
Дата:
Сообщение: Re: SQL Dummy Needs Help
Следующее
От: Patrik Kudo
Дата:
Сообщение: != and <> operators