Re: Aggregate functions on empty sets in SQL
From: David Cressey <david_at_dcressey.com>
Date: Tue, 06 Nov 2001 19:09:45 GMT
Message-ID: <ZzWF7.68$ec1.8634_at_petpeeve.ziplink.net>
Date: Tue, 06 Nov 2001 19:09:45 GMT
Message-ID: <ZzWF7.68$ec1.8634_at_petpeeve.ziplink.net>
Mikito,
For better or for worse, the aggregate functions were defined to have no
value when aggregating over an
One could argue whether the definition is as useful as it might be, but
empty set. Hence NULL is the right answer.
-- Regards, David Cressey www.dcressey.comReceived on Tue Nov 06 2001 - 20:09:45 CET