Re: Aggregate Aggravation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Aggregate Aggravation
Дата
Msg-id 2193.1001611912@sss.pgh.pa.us
обсуждение
Ответ на Aggregate Aggravation  ("Robin's PG-SQL List" <pg-sql@mail.robin.net>)
Ответы Re: Aggregate Aggravation
Список pgsql-sql
"Robin's PG-SQL List" <pg-sql@mail.robin.net> writes:
> I have a query using the SUM() function that is not returning the 
> appropriate results.

I'm guessing that you have two rows in bolcustomer matching
bol_number = 88738, so that the 14 gets added in twice.
        regards, tom lane


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