| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Does Codd's view of a relational database differ from that ofDate& Darwin? [M.Gittens]
mountain man wrote:
> Nulls exist in set theory, they exist in the real world, and
> they exist in data elements. While they may be problematic,
> their problematics can be effectively managed and resolved.
The empty set in set theory isn't really like a SQL NULL though - it's a perfectly well defined value - a set with no elements.
Relational database theory comes from a mix of set theory and predicate logic. Set theory is for the tables and rows, but once you get down to the row level, it switches to predicate logic. And standard predicate logic doesn't say anything about NULL arguments. So a set-theoretical empty set really corresponds to an empty table, I'd say, rather than a NULL attribute.
>>>Why not say then that all aggregates that involve a NULL return NULL? >> >>This is what SQL does. Sometimes we want to get a value but we get a >>null instead.
Paul. Received on Tue Jun 07 2005 - 10:01:25 CDT
![]() |
![]() |