Re: Examples of SQL anomalies?

From: Keith H Duggar <duggar_at_alum.mit.edu>
Date: Wed, 9 Jul 2008 19:21:43 -0700 (PDT)
Message-ID: <daa031a2-ad15-45ac-afd1-4bbc307e4dbc_at_x41g2000hsb.googlegroups.com>


On Jul 8, 7:41 am, goanna <spamt..._at_crayne.org> wrote:
> Keith H Duggar <dug..._at_alum.mit.edu> writes:
>
> > CELKO wrote :
> > > Marshall wrote :
> > > > False! It's not from nothing, and it's not simply a convention.
> > > > It's the identity of the operator being aggregated. <<
>
> > > Yes, zero is the additive identity.  But this is a convention used to
> > > get rid of the empty set problem and preserve easy computations.
> > Yes, sum[{}] = 1 eliminates problems and makes computation easier.
> > It's a shame that SQL offers neither of those benefits.
>
> I guess you mean sum[{}] = 0

Yes. Thank you. Received on Thu Jul 10 2008 - 04:21:43 CEST

Original text of this message