首页> 外文会议>Database theory - ICDT 2007 >Containment of Conjunctive Queries over Databases with Null Values
【24h】

Containment of Conjunctive Queries over Databases with Null Values

机译:具有空值的数据库上的联合查询的包含

获取原文
获取原文并翻译 | 示例

摘要

We study containment of conjunctive queries that are evaluated over databases that may contain tuples with null values. We assume the semantics of SQL for single block queries with a SELECT DISTINCT clause. This problem ("null containment" for short) is different from containment over databases without null values and sometimes more difficult.rnWe show that null-containment for boolean conjunctive queries is NP-complete while it is Π_2~p-complete for queries with distinguished variables. However, if no relation symbol is allowed to appear more than twice, then null-containment is polynomial, as it is for databases without nulls. If we add a unary test predicate IS NULL, as it is available in SQL, then containment becomes Π_2~p-hard for boolean queries, while it remains in Π_2~p for arbitrary queries.
机译:我们研究了在可能包含具有空值的元组的数据库上评估的联合查询的包含。我们假设带有SELECT DISTINCT子句的单块查询的SQL语义。这个问题(简称“空包容”)与不包含空值的数据库的包容不同,有时更难。rn我们表明,布尔联合查询的空包容是NP完全的,而对于有区别的查询是π_2〜p完整的变量。但是,如果不允许任何关系符号出现两次以上,则null包含项是多项式,对于没有null的数据库而言。如果我们添加一元测试谓词IS NULL(如SQL中可用的那样),则对于布尔查询,包含将变为_2_2〜p-hard,而对于任意查询,它将保留在_2_2〜p中。

著录项

  • 来源
    《Database theory - ICDT 2007》|2007年|389-403|共15页
  • 会议地点 Barcelona(ES);Barcelona(ES)
  • 作者单位

    Departament de Llenguatges i Sistemes Informatics Unversitat Politecnica de Catalunya, c/ Jordi Girona, 1-3 08034-Barcelona, Spain;

    Faculty of Computer Science, Free University of Bozen-Bolzano Dominikanerplatz 3, 1-39100 Bozen, Italy;

    Departament de Llenguatges i Sistemes Informatics Unversitat Politecnica de Catalunya, c/ Jordi Girona, 1-3 08034-Barcelona, Spain;

    Departament de Llenguatges i Sistemes Informatics Unversitat Politecnica de Catalunya, c/ Jordi Girona, 1-3 08034-Barcelona, Spain;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 TP311.13;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号