首页> 外文会议>ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems >Equivalence of queries combining set and bag-set semantics
【24h】

Equivalence of queries combining set and bag-set semantics

机译:结合集合和袋集语义的查询的等效性

获取原文

摘要

The query equivalence problem has been studied extensively for set-semantics and, more recently, for bag-set semantics. However, SQL queries often combine set and bag-set semantics. For example, an SQL query that returns a multiset of elements may call a subquery or view that returns a set of elements. As another example, in SQL one can compute a multiset-union of queries, each of which returns a set of answers. This paper presents combined semantics, which formally models query evaluation combining set and bag-set semantics. The equivalence problem for queries evaluated under combined semantics is studied. A sufficient condition for equivalence is presented. For several important common classes of queries necessary and sufficient conditions for equivalence are presented.
机译:查询等效性问题已被广泛研究用于集合语义学,以及最近针对袋集合语义的研究。但是,SQL查询通常结合集合和袋集语义。例如,返回多个元素集的SQL查询可以调用返回一组元素的子查询或视图。作为另一个示例,在SQL中,可以计算查询的多集合联合,每个查询都返回一组答案。本文提出了组合语义,它正式地结合了集合语义和包集合语义来对查询评估进行建模。研究了在组合语义下评估的查询的等价问题。给出了等价的充分条件。对于几种重要的常见查询类别,提出了必要的充分条件和等效条件。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号