| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Aggregate functions on empty sets in SQL
Mikito,
For better or for worse, the aggregate functions were defined to have no
value when aggregating over an
empty set. Hence NULL is the right answer.
One could argue whether the definition is as useful as it might be, but that's a different story.
--
Regards,
David Cressey
www.dcressey.com
Received on Tue Nov 06 2001 - 13:09:45 CST
![]() |
![]() |