Publication | Closed Access
Nulls, three-valued logic, and ambiguity in SQL
13
Citations
2
References
2007
Year
Database TheoryAutomated ReasoningPopular CritiqueSql QueriesThree-valued LogicPhilosophy Of LogicMany-valued LogicSemanticsStraightforward Queries
Date's popular critique of SQL's three-valued logic [4, 3] purports to demonstrate that SQL queries can produce erroneous results when nulls are present in the database. I argue that this critique is flawed in that Date misinterprets the meaning of his example query. In fact, SQL returns the correct answer to the query posed; Date, however, believes that he is asking a different question. Although his critique is flawed, I agree with Date's general conclusion: SQL's use of nulls and three-valued logic introduces a startling amount of complexity into seemingly straightforward queries.
| Year | Citations | |
|---|---|---|
1991 | 32 | |
1995 | 18 |
Page 1
Page 1