2006
DOI: 10.1007/11965893_27
|View full text |Cite
|
Sign up to set email alerts
|

Containment of Conjunctive Queries over Databases with Null Values

Abstract: Abstract. 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. We show that null-containment for boolean conjunctive queries is NPcomplete while it is Π P 2 -complete for queries with distinguished variables. However, if n… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
6
0

Year Published

2008
2008
2019
2019

Publication Types

Select...
5
2
1

Relationship

1
7

Authors

Journals

citations
Cited by 13 publications
(6 citation statements)
references
References 18 publications
0
6
0
Order By: Relevance
“…The aim is to prune the search of possible counterexamples by generating only the relevant ones but, at the same time, without diminishing the requirement of completeness. Treatment of null values is performed according to the ideas developed in [8].…”
Section: The Cqc E Methods Enginementioning
confidence: 99%
“…The aim is to prune the search of possible counterexamples by generating only the relevant ones but, at the same time, without diminishing the requirement of completeness. Treatment of null values is performed according to the ideas developed in [8].…”
Section: The Cqc E Methods Enginementioning
confidence: 99%
“…As mentioned in the introduc-tion, the latter apparently only holds when the database schema is fixed or the arity of relations is considered to be bounded. A proof for the Π p 2 -lowerbound is given by Farré et al [12]. Based on [15], Wei and Lausen [19] study a method for testing containment that exploits containment mappings for the positive parts of queries, and additionally provide a characterisation for UCQ ¬ containment.…”
Section: Related Workmentioning
confidence: 99%
“…In [15] it was proved that for every k ≥ 1, conjunctive query containment could be solved in polynomial time, if Q2 has querywidth smaller than k +1. In addition to the mentioned cases, there are many other tractable cases [44,11,12,19]. Such cases are obtained by imposing syntactic or structural restrictions on the input queries Q1 and Q2.…”
Section: Related Workmentioning
confidence: 99%
“…equivalent to), query Q2, analytically, if for all the database states D, Q1's result over D is contained in (resp., equals) Q2's result over D. Query containment is a well-known concept that has applications in query optimization. It has been extensively researched in database theory, and many algorithms were proposed for determining containment under different assumptions [44,11,12,19]. However, determining query containment analytically is not practically sufficient.…”
Section: Introductionmentioning
confidence: 99%