E N D
What is relation algebra • It is a procedural language. • It takes relations as input and yields instances of relations as output. It uses operators to perform queries. • We use operators for performing operations on the relations. • RDBMS (SQL) is an implementation of relational algebra
Operations in relational algebra • They accept the relations as input and yield relations as output. • They can be unary and binary • There are 6 basic operations in Relational Algebra • 1. Selection 2. Projection 3. Rename • 4. Union 5. Set Difference 6. Cartesian Product • There are 2 derived operations in Relational Algebra • 1. Intersection 2. Division