Re: Examples of SQL anomalies?

From: Keith H Duggar <duggar_at_alum.mit.edu>
Date: Mon, 7 Jul 2008 19:50:06 -0700 (PDT)
Message-ID: <c66c8f4e-3e25-48f9-a5d9-124eedd67319_at_59g2000hsb.googlegroups.com>


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.

KHD Received on Tue Jul 08 2008 - 04:50:06 CEST

Original text of this message