More Relational Algebra




CS157a

Chris Pollett

Sep 11, 2019

Outline

Introduction

Set Operations on Relations

The three most common operations on sets are union, intersection, and difference. For relations, we will use the following notations and definitions for their meaning:

In-Class Exercise

Projection

Selection

Cartesian Product

Natural Joins

Theta Joins

Combining Operations to Form Queries

Naming and Renaming