Relational Algebra Knowledge

Kip Landergren

(Updated: )

My Relational Algebra knowledge base explaining an overview, the core idea, and listing key concepts.

Contents

Overview

Relational Algebra is the mathematics behind manipulating and operating on specially structured tables of related data called, appropriately, relations. Operators in relational algebra take relations as input and return relations as output. This allows composability and expressitivity.

A relation is a set of tabular data comprised of:

Operators include:

Note: “selection” is not the same as SQL select statement.

Core Idea

Define an algebra to operate on relations—groups of related data in tabular form—that takes relations as input and returns relations as output .

Key Concepts