2005
DOI: 10.1145/1055686.1055691
|View full text |Cite
|
Sign up to set email alerts
|

Equivalences among aggregate queries with negation

Abstract: Query equivalence is investigated for disjunctive aggregate queries with negated subgoals, constants and comparisons. A full characterization of equivalence is given for the aggregation functions count, max, sum, prod, top2 and parity. A related problem is that of determining, for a given natural number N , whether two given queries are equivalent over all databases with at most N constants. This problem is called bounded equivalence. A complete characterization of decidability of bounded equivalence is given.… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2

Citation Types

0
3
0

Year Published

2009
2009
2020
2020

Publication Types

Select...
4
3
1

Relationship

0
8

Authors

Journals

citations
Cited by 24 publications
(3 citation statements)
references
References 17 publications
0
3
0
Order By: Relevance
“…Prior work in the database community mainly focused on the theoretical study of decidability [13,29] or generating a comprehensive set of test databases to "kill" as many erroneous queries as possible [11], but does not pay much attention to explaining why two queries are inequivalent. There are recent systems that aim to generate counterexamples for SQL queries.…”
Section: Introductionmentioning
confidence: 99%
“…Prior work in the database community mainly focused on the theoretical study of decidability [13,29] or generating a comprehensive set of test databases to "kill" as many erroneous queries as possible [11], but does not pay much attention to explaining why two queries are inequivalent. There are recent systems that aim to generate counterexamples for SQL queries.…”
Section: Introductionmentioning
confidence: 99%
“…See the SystemML Engine Developer Guide for details on the weighted-square loss operator wsloss 2. This was claimed, for conjunctive queries only, in Theorem 5.2 in[3] but a proof was never produced; a proof was given for bag-set semantics in[4]. See the discussion in[8].…”
mentioning
confidence: 99%
“…The problem of deciding equivalence among conjunctive aggregate count-distinct queries has been investigated starting from late 90s, and the problem is known to be decidable for most of the aggregate operators [3,5,1,2,5] including SUM, Average, and COUNT. For for count-distinct queries, although some sufficient conditions have been proposed [5,2], it has still been open if the problem is decidable or not.…”
Section: Introductionmentioning
confidence: 99%