Re: Aggregate Aggravation - Mailing list pgsql-sql

From Robin's PG-SQL List
Subject Re: Aggregate Aggravation
Date
Msg-id Pine.LNX.3.96.1010927233137.7995A-100000@mail.robin.net
Whole thread Raw
In response to Re: Aggregate Aggravation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Indeed I do.  I need to add another constraint on that query.  It
never would have occurred to me had I not asked.  Problem solved.  Thank
you, thank you!

-Robin

On Thu, 27 Sep 2001, Tom Lane wrote:

> "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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 



pgsql-sql by date:

Previous
From: "Michael Remme"
Date:
Subject: Re: TEXT in select
Next
From: Nils Zonneveld
Date:
Subject: Re: Stupid Question