AW: [HACKERS] SUM() and GROUP BY

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas IZ5
Тема AW: [HACKERS] SUM() and GROUP BY
Дата
Msg-id 219F68D65015D011A8E000006F8590C60267B2D3@sdexcsrv1.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
>druid=> SELECT client_id, SUM(tramount) FROM acctrans GROUP BY
>client_id;>client_id|sum>---------+--->         |   >(1 row)>>If there are no rows in the table then shouldn't the
resultbe no
 
rows>when GROUP BY is used?  Further, What about this?

Yes, should return no rows. seems like a fix is needed here :-(

Andreas



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: EXCEPT/INTERSECT for v6.4
Следующее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] CONSTRAINTS...