Unit 6: Relational Algebra
We have seen that database entities can be viewed as logical tables. While this is useful in its own way, we can learn more from the data if we can perform operations on the tables within a database, as data from one table may not be meaningful without the data from another table. In this unit, we will introduce relation algebra, the mathematical notation used to represent how data retrievals and updates are performed on tables in a database. Understanding relational algebra will serve as a prelude to using the Structure Query Language (SQL).
Completing this unit should take you approximately 5 hours.
6.1: Basic Operations
Read this section.
Read this section.
6.2: Derived Operations
Read this page.
Watch this lecture.
6.3: Set Operations
Watch this lecture.
6.4: Aggregate Functions
Read the "Aggregate Functions" and "Aggregate Functions Examples" sections.
6.5: Assessment
Take this quiz.