Sciweavers

TCS
1998

Foundations of Aggregation Constraints

14 years 2 days ago
Foundations of Aggregation Constraints
We introduce a new constraint domain, aggregation constraints, that is useful in database query languages, and in constraint logic programming languages that incorporate aggregate functions. First, we formallystudy the fundamental problem of determining if a conjunction of aggregation constraints is solvable, and show that, for many classes of aggregation constraints, the problem is undecidable. Second, we describe a complete and minimal axiomatization of aggregation constraints, for the SQL aggregate functions min, max, sum, count and average, over a non-empty, nite multiset on several domains. This axiomatizationhelps identify e ciently solvable classes of aggregation constraints. Third, we present a polynomial-time algorithm that directly checks for solvability of a conjunction of aggregation range constraints over a single multiset; this is a practically useful class of aggregation constraints. Fourth, we discuss the relationships between aggregation constraints on a nite multiset...
Kenneth A. Ross, Divesh Srivastava, Peter J. Stuck
Added 23 Dec 2010
Updated 23 Dec 2010
Type Journal
Year 1998
Where TCS
Authors Kenneth A. Ross, Divesh Srivastava, Peter J. Stuckey, S. Sudarshan
Comments (0)