Re: counting rows of grouped query (problem with views)

Поиск
Список
Период
Сортировка
От Nabil Sayegh
Тема Re: counting rows of grouped query (problem with views)
Дата
Msg-id 20010312223522.0B46B3EDA@plserver.of.de
обсуждение исходный текст
Ответ на counting rows of grouped query (problem with views)  (Nabil Sayegh <nsmail@sayegh.de>)
Ответы Re: counting rows of grouped query (problem with views)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
On 09 Mar 2001 19:08:12 +0100, Nabil Sayegh wrote:
> Hi all,
>
> (short)
> is there any possibility to count the number of rows resulting from a
> grouped query (from a view containing a grouped query) ?

[...]

> I dont want the aggregate function to be used on each group, I want it
> to count all the rows.
> IMHO the view should act as a table (and therefor should UNGROUP the
> result)
>
> P.S.: I use 7.0.3


Nobody ? Come on.
Am I the only one who finds this behaviour of VIEWs strange ?

TIA
cu

--
 Nabil Sayegh
 GPG-Key available at http://www.sayegh.de
 (see http://www.gnupg.org for details)


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

Предыдущее
От: brew@theMode.com
Дата:
Сообщение: pg_dump & BLOBs ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: counting rows of grouped query (problem with views)