Extending relational algebra and relational calculus with set-valued attributes and aggregate functions

Gültekin Özsoyoğlu, Z. Meral Özsoyoğlu, Victor Matos

ACM Transactions on Database Systems · 1987 · 226 citations · 12 references

DOIFull text

Open access

Concepts

TL;DR

Commercial network database systems routinely support set‑valued fields and aggregate functions, yet Codd’s original relational model omits these features; Klug recently extended the model to include aggregate functions and defined corresponding relational algebra and calculus languages. This work extends Klug’s relational algebra and calculus to handle set‑valued attributes and aggregate functions, establishing a theoretical framework for statistical database query languages. The authors augment the relational algebra with three new operators—pack, unpack, and aggregation‑by‑template—to manipulate set‑valued attributes and aggregate functions. The expressive power of the extended languages is shown to be equivalent.

Abstract

In commercial network database management systems, set-valued fields and aggregate functions are commonly supported. However, the relational database model, as defined by Codd, does not include set-valued attributes or aggregate functions. Recently, Klug extended the relational model by incorporating aggregate functions and by defining relational algebra and calculus languages. In this paper, relational algebra and relational calculus database query languages (as defined by Klug) are extended to manipulate set-valued attributes and to utilize aggregate functions. The expressive power of the extended languages is shown to be equivalent. We extend the relational algebra with three new operators, namely, pack, unpack, and aggregation-by-template. The extended languages form a theoretical framework for statistical database query languages.

References

12