Database Management System

⌘K
  1. Home
  2. Docs
  3. Database Management Syste...
  4. The Relational Algebra an...
  5. Unary Relational Operations

Unary Relational Operations

Unary relational operations in relational algebra are operations that are applied to a single relation (table) at a time.

  • These operations allow the manipulation and retrieval of specific subsets of data from a relation.
  • Select (σ)
  • Project (π)
  • Rename (ρ).

The Select operation retrieves rows from a relation that satisfy a given condition. It filters rows based on a specified predicate and returns only those that meet the condition.

select

The Project operation retrieves specific columns from a relation. It eliminates duplicate rows after selecting the specified columns, ensuring the result is a set of distinct tuples.

project

The Rename operation changes the name of a relation or its attributes (columns). It is useful for giving meaningful names to intermediate results or for handling queries involving multiple relations with the same attribute names.

rename

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *