Database management systems notes

Relational Algebra

The six operators every SQL query is secretly built from. Every section is a drawn page beside a clear written explanation, about 20 minutes in all.

  • Chapter 6 of 34
  • About 20 minutes
  • 8 sections

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

The first drawn page of Relational Algebra: Why an algebra at all
The chapter's first page: Why an algebra at all

In this chapter

  • Why an algebra at all
  • Selection: choosing rows
  • Projection: choosing columns
  • Union, difference and intersection
  • Cartesian product: every pairing
  • Rename: making self-comparison possible
  • Joins, built from what came before
  • Division, and composing a real query

Next chapters

Read the whole chapter

Sign in and the chapter opens with every drawn page, and all 35 database management systems chapters beside it.

DSA comes with the all labs plan and every ChaiCode batch.