DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2015 · 28 citations · 11 references
ComputingComputer ScienceMathematicsDatabasesSet TheoryTheory Of ComputationEnumerative CombinatoricsQuery ProcessingRelational AlgebraRelational Data ModelRelational DatabasesCounting ComplexityQuery ComplexityQuery EquivalenceRelational Database SystemsRelational Query Processing
Conjunctive queries are basic and heavily studied database queries; in relational algebra, they are the select-project-join queries. In this article, we study the fundamental problem of counting, given a conjunctive query and a relational database, the number of answers to the query on the database. In particular, we study the complexity of this problem relative to sets of conjunctive queries. We present a trichotomy theorem, which shows essentially that this problem on a set of conjunctive queries is either tractable, equivalent to the parameterized CLIQUE problem, or as hard as the parameterized counting CLIQUE problem; the criteria describing which of these situations occurs is simply stated, in terms of graph-theoretic conditions.
11
Optimal implementation of conjunctive queries in relational data bases
Ashok K. Chandra, Philip M. Merlin · 1977 · 1.2K citations · Full text
Conjunctive-query containment and constraint satisfaction
Phokion G. Kolaitis, Moshe Y. Vardi · 1998 · 399 citations · Full text