Traditional Culture Encyclopedia - Traditional festivals - What are the five basic relational algebra operations of SQL
What are the five basic relational algebra operations of SQL
The five basic operations: merge, difference, product, select, and project; form a complete set of operations for relational algebra. Other non-basic operations: all operations that can be synthesized using the above five basic operations. Union (U), Intersection (⌒), Projection (π) Selection (σ) and Cartesian Product (×).
Traditional set operations
1, and (UNION) has two relations R and S, which have the same structure. and of R and S is a set consisting of tuples belonging to R or belonging to S. The operator is ∪[1]? Noted as T=R∪S.
2. Difference (DIFFERENCE) The difference between R and S is a set consisting of tuples that belong to R but not to S. The operator is -[1]? The operator is -[1]?, which is written as T=R-S.
3. The intersection of R and S is a set of tuples that belong to both R and S. The operator is ∩[1]? Noted as T = R ∩ S. R ∩ S = R - (R - S).
- Previous article:Can people still wear ancient cloth socks nowadays?
- Next article:How to design a building with Chinese style?
- Related articles
- Experiences of inheriting traditional culture: 5 articles.
- How about Dunmu cold compress and plaster?
- What are the top ten romantic places in the world?
- UE4 upgrade exposure! How does the legendary sword OL annual edition realize all-round content update?
- What gift do you give your boyfriend on Valentine's Day?
- How do you understand that women should be raised rich and men should be raised poor?
- What are the common ways of manure composting?
- The Qinqiang is also known as the "clapper band" because of the use of what is known as the clapper as a percussive instrument.
- Foreign game software platform
- What is the category of hardware products?