Duplicates in SQL

作者:

Highlights:

摘要

The relational database model is defined in terms of sets, whereas SQL needs the DISTINCT option for explicit duplicate removal. We define the underlying concept of duplicate tuples, generalize the operators of the relational algebra and study the connection with logic. It is shown that ‘baggy’ operators violate classical equivalences. The generalized system is applied in a formal interpretation of SQL.

论文关键词:Duplicates,Relational databases,Relational algebra,SQL semantics

论文评审过程:Received 7 May 1993, Revised 19 August 1993, Accepted 14 February 1994, Available online 12 February 2003.

论文官网地址:https://doi.org/10.1016/0169-023X(94)90046-9