Null values in SQL

  • Authors:
  • John Grant

  • Affiliations:
  • Towson University, Towson, MD and University of Maryland, College Park, MD

  • Venue:
  • ACM SIGMOD Record
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

In various writings over the past 20 years, such as [3], Date has pointed out that SQL produces incorrect answers to some queries where a null value is included in a table. In a recent article in the ACM SIGMOD Record, [8], Rubinson states that "Date misinterprets the meaning of his example query" and "SQL returns the correct answer to the query posed". The purpose of this article is to show that, contrary to Rubinson's claim, Date's critique of query evaluation in the presence of null values in SQL is completely justified.