
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Extended Operators in Relational Algebra in C++
Relational data model is the primary data model, which is used widely around the world for data storage and processing. This model is simple and it has all the properties and capabilities required to process data with storage efficiency.
They are basic operators on Relation Algebra, here we will learn about some extended operators. They are mainly of three types:
- Intersection
- Join
- Divide
Intersection Operation i s a special type of operation in for relations R1 and R2 where the relation in which the tuples with elements present in both relations i.e. in relation R1 and R2.
JOIN
Conditional Join is a special type of join in which we join more than two relations and the join is governed by some conditions.
Natural Join is a special type of join in which the equality condition is true for all attributes of the relation.
Left Outer Join is a special type of join in which the join considers all elements of left relation and the tuple from right relation that satisfy the given condition.
Right Outer Join is a special type of join in which the join considers all elements of right relation and the tuple from left relation that satisfy the given condition.
Full Outer Join is the join that considers all elements from both right and left relations.
Divide operation is applicable only if B proper subset of A. It returns a relation whose attribute is all attributes of A - attributes of B.