relational Algebra- operators (Selection(σ),Projection(π),Union(∪),Difference (−),CartesianProduct(×),Join(𝔚), Intersection (∩),Rename (ρ)) | Relational Model and Relational Algebra | 2114112 Database Management System
Relational Algebra – Complete Guide Relational Algebra A formal, procedural query language for the relational database model — the mathematical foundation behind SQL. Relational algebra consists of operations that take one or two relations (tables) as input and produce a new relation as output. Because every operation returns a relation, operators can be nested and combined to build complex queries — exactly like SQL. Core Operators at a Glance σ Unary · Selection Selection Filters rows. Returns tuples that satisfy a Boolean condition. Think horizontal partition . π Unary · Projection Projection Filters columns. Keeps only selected attributes and auto-eliminates duplicates. Think vertical partition . ρ Unary · Rename Rename Renames elements. Changes a relation's name and/or its attribute names — essential for self-joins. ...