计算机科学 > 数据库
[提交于 2024年9月4日]
标题:Computing Range Consistent Answers to Aggregation Queries via Rewriting
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We consider the problem of answering conjunctive queries with aggregation on database instances that may violate primary key constraints. In SQL, these queries follow the SELECT-FROM-WHERE-GROUP BY format, where the WHERE-clause involves a conjunction of equalities, and the SELECT-clause can incorporate aggregate operators like MAX, MIN, SUM, AVG, or COUNT. Repairs of a database instance are defined as inclusion-maximal subsets that satisfy all primary keys. For a given query, our primary objective is to identify repairs that yield the lowest aggregated value among all possible repairs. We particularly investigate queries for which this lowest aggregated value can be determined through a rewriting in first-order logic with aggregate operators.
提交历史
来自:Jef Wijsen[v1] 2024年9月4日 星期三 00:00:00 UTC