Null Values in Relational Databases and Sure Information Answers

  • Hans-Joachim Klein 
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2582)

Abstract

Null values are ubiquitous in database applications. There is, however, no common agreement upon how to deal with null values, neither in practice nor in theory. In this paper, the null value problem is revisited with special emphasis on answers representing sure information with respect to possible world semantics. The focus is on the unknown and the no information interpretation of null values. A new semantics for the no information interpretation of nulls is proposed taking into account a problem arising in connection with the closed world assumption. Results are applied to the query language SQL.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [AHV95]
    S. Abiteboul, R. Hull, and V. Vianu: Foundations of Databases. Addison-Wesley, Reading, 1995MATHGoogle Scholar
  2. [AKG91]
    S. Abiteboul, P. Kanellakis, and G. Grahne: On the representation and querying of sets of possible worlds. Theor. Comp. Science 78, pp. 159–187, 1991MATHCrossRefMathSciNetGoogle Scholar
  3. [Bis83]
    J. Biskup: A foundation of Codd’s relational maybe-operations. ACM Trans. on Database Systems 8 (4), pp. 608–636, 1983MATHCrossRefMathSciNetGoogle Scholar
  4. [Cod72a]
    E.F. Codd: Further normalization of the database relational model. In: Data Base Systems. Current Computer Science Symposium 6 (R. Rustin, ed.), Prentice Hall, Englewood Cliffs, pp. 33–64, 1972Google Scholar
  5. [Cod72b]
    E.F. Codd: Relational completeness of data base sublanguages. In: Data Base Systems. Current Computer Science Symposium 6 (R. Rustin, ed.), Prentice Hall, Englewood Cliffs, pp. 65–98, 1972Google Scholar
  6. [Cod79]
    E.F. Codd: Extending the database relational model to capture more meaning. ACM Trans. on Database Systems 4 (4), pp. 397–434, 1979CrossRefGoogle Scholar
  7. [Cod86]
    E.F. Codd: Missing information (applicable and inapplicable) in relational databases. ACM SIGMOD RECORD15 (4), pp. 53–77, 1986CrossRefGoogle Scholar
  8. [Dat86]
    C.J. Date: Null values in database management. In: Relational Database: Selected Writings, Addison-Wesley, Reading, 1986Google Scholar
  9. [Dat90]
    C.J. Date: Relational Database Writings 1985-1989. Addison-Wesley, Reading, 1990Google Scholar
  10. [DD98]
    C.J. Date and H. Darwen: Foundation for Object/Relational Databases. Addison Wesley, Reading, 1998Google Scholar
  11. [Ges90]
    G.H. Gessert: Four valued logic for relational database systems. ACM SIGMOD Record 19 (1), pp. 29–35, 1990CrossRefGoogle Scholar
  12. [GM90]
    O.N. Garcia and M. Moussavi: A six-valued logic for representing incomplete knowledge. Proc. IEEE 20th Int. Symp. on Multiple-valued Logic (G. Epstein, ed.), Charlotte, pp. 110–114, 1990Google Scholar
  13. [Gra91]
    G. Grahne: The Problem of Incomplete Information in Relational Databases. LNCS 554, Springer-Verlag, Berlin, 1991MATHGoogle Scholar
  14. [Grt77]
    J. Grant: Null values in relational data base. Inform. Proc. Letters 6 (5), pp. 156–157, 1977Google Scholar
  15. [GZ88]
    G. Gottlob and R. Zicari: Closed world databases opened through null values. Proc. 14th VLDB Conf., Los Angeles, pp. 50–61, 1988Google Scholar
  16. [IL82]
    T. Imielinski and W. Lipski: A systematic approach to relational database theory. Proc. ACM SIGMOD Conf., Orlando, pp. 8–14, 1982Google Scholar
  17. [IL84]
    T. Imielinski and W. Lipski: Incomplete information in relational databases. Journal of the ACM 31 (4), pp. 761–791, 1984MATHCrossRefMathSciNetGoogle Scholar
  18. [Kel86]
    A.M. Keller: Set-theoretic problems of null completion in relational databases. Inf. Proc. Letters 22, pp. 261–265, 1986Google Scholar
  19. [Kle38]
    S.C. Kleene: On a notation of ordinal numbers. The Journal of Symbolic Logic 3, pp. 150–155, 1938MATHCrossRefGoogle Scholar
  20. [Kln94]
    H.-J. Klein: How to modify SQL queries in order to guarantee sure answers. ACM SIGMOD Record 23 (3), pp. 14–20, 1994CrossRefGoogle Scholar
  21. [Kln97]
    H.-J. Klein: Sure and possible answers to queries for relational databases with partial relations. Technical Report 9802, Inst. f. Informatik u. Prakt. Mathem., Univ. Kiel, 194 pages, 1997 (in German)Google Scholar
  22. [Kln98]
    H.-J. Klein: Model theoretic and proof theoretic view of relational databases with null values: a comparison, in: M.H. Scholl et al. (Eds.), 10. GI-Workshop “Grundlagen von Datenbanken”, Konstanzer Schriften in Mathematik u. Informatik, Nr. 63, Univ. Konstanz, pp. 57–61, 1998Google Scholar
  23. [Kln99a]
    H.-J. Klein: On the use of marked nulls for the evaluation of queries against incomplete relational databases. In: Fundamentals of Informations Systems (T. Polle, T. Ripke, and K.-D. Schewe, eds), Kluwer Academic Publ., Boston, pp. 82–99, 1999Google Scholar
  24. [Kln99b]
    H.-J. Klein: Efficient algorithms for approximating answers to queries against incomplete relational databases. In: Proc. KRDB’99 (E. Franconi and M. Kifer, eds.), Linköping, pp. 26–30, 1999Google Scholar
  25. [KW85]
    A.M Keller and M.W. Winslett Wilkins: On the use of an extended relational model to handle changing information and nulls. IEEE Trans. on Soft. Eng., SE-11 (7), pp. 620–633, 1985CrossRefGoogle Scholar
  26. [Lak89]
    V.S. Lakshmanan: Query evaluation with null values: how complex is completeness?. Proc. 9th Conf. on Found. of Software Technologies and Theor. Comp. Science, Bangalore, LNCS 405, Springer-Verlag, Berlin, pp. 204–222, 1989Google Scholar
  27. [LeLi86]
    N. Lerat and W. Lipski: Nonapplicable nulls. Theoretical Computer Science 46, pp. 67–82, 1986MATHCrossRefMathSciNetGoogle Scholar
  28. [LeLo99]
    M. Levene and G. Loizou: A Guided Tour of Relational Databases and Beyond. Springer-Verlag, London, 1999Google Scholar
  29. [Lib98]
    L. Libkin: A semantics based approach to design of query languages for partial information. In: Semantics in Databases (B. Thalheim, L. Libkin, eds.), LNCS 1358, pp. 170–208, 1998CrossRefGoogle Scholar
  30. [Lip79]
    W. Lipski: On semantic issues connected with incomplete information databases. ACM Trans. on Database Systems 4 (3), pp. 262–296, 1979CrossRefGoogle Scholar
  31. [Lip81]
    W. Lipski: On databases with incomplete information. J. of the ACM 18 (1), pp. 41–70, 1981CrossRefMathSciNetGoogle Scholar
  32. [LS90]
    K.C. Liu and R. Sunderraman: Indefinite and maybe information in relational databases. ACM Trans. on Database Systems 15 (1), pp. 1–39, 1990CrossRefMathSciNetGoogle Scholar
  33. [Mai83]
    D. Maier: The Theory of Relational Databases. Computer Science Press, Rockville, 1983Google Scholar
  34. [MS97]
    A. Motro and P. Smets (eds.): Uncertainty Management in Information Systems. Kluwer Academic Publ., Boston, 1997Google Scholar
  35. [MUV84]
    D. Maier, J.D. Ullman, and M.Y. Vardi: On the foundations of the universal relational model. ACM Trans. on Database Systems 9 (2), pp. 283–308, 1984MATHCrossRefMathSciNetGoogle Scholar
  36. [OO93]
    A. Ola and G. Ozsoyoglu: Incomplete relational database models based on intervals. IEEE Trans. on Knowledge and Data Eng. 5 (2), pp. 294–308, 1993CrossRefGoogle Scholar
  37. [Rei78]
    R. Reiter: On closed world databases. In: Logic and Databases (H. Gallaire and J. Minker, eds.), Plenum Press, New York, pp. 55–76, 1978Google Scholar
  38. [Rei86]
    R. Reiter: A sound and sometimes complete query evaluation algorithm for relational databases with null values. J. of the ACM 33 (2), pp. 349–370, 1986CrossRefMathSciNetGoogle Scholar
  39. [RKS89]
    M.A. Roth, H.F. Korth, and A. Silberschatz: Null values in nested relational databases. Acta Informatica 26, pp 615–642, 1989MATHCrossRefMathSciNetGoogle Scholar
  40. [Sci79]
    E. Sciore: Improving semantic specification in a relational database. Proc. ACM SIGMOD Conf., Boston, pp. 170–178, 1979Google Scholar
  41. [Var86]
    M.Y. Vardi: Querying logical databases. Journal of Comp. and System Sciences 33, pp. 142–160, 1986MATHCrossRefMathSciNetGoogle Scholar
  42. [Vas79]
    Y. Vassiliou: Null values in data base management: a denotational approach. Proc. ACM SIGMOD Conf., Boston, pp. 162–169, 1979Google Scholar
  43. [Yue91]
    K. Yue: A more general model for handling missing information in relational databases using 3-value logic. ACM SIGMOD RECORD 20 (3), pp. 43–49, 1991CrossRefGoogle Scholar
  44. [Zan84]
    C. Zaniolo: Database relations with null values. J. of Comp. and System Sciences 28, pp. 142–166, 1984MATHCrossRefMathSciNetGoogle Scholar
  45. [ZP97]
    E. Zimányi and A. Pirotte: Imperfect information in relational databases. In: [MS97], pp. 35–87, 1997Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2003

Authors and Affiliations

  • Hans-Joachim Klein 
    • 1
  1. 1.Institut für Informatik und PraktMathematik Universität KielKielGermany

Personalised recommendations