Testing containment of conjunctive queries under functional and inclusion dependencies

D. S. Johnson, A. Klug
1982 Proceedings of the 1st ACM SIGACT-SIGMOD symposium on Principles of database systems - PODS '82  
We consider the problem of optimizing conjunctive queries in the presence of inclusion and functional dependencies. We show that the problem of containment (and hence those of equivalence and non-minimality) is in NP when either (a) there are no functional dependencies or (b) the set of dependencies is what we call key-bused. These results assume that infinite databases are allowed. If only finife databases are allowed, new containments may arise, as we illustrate by an example. We also prove a
more » ... "compactness" theorem that shows that no such examples can exist for case (b).
doi:10.1145/588111.588138 dblp:conf/pods/JohnsonK82 fatcat:r3pj6elv4nflzlbvez5u3nlyda