In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The editor will share with you what are the basic operations of relational database. I hope you will gain a lot after reading this article. Let's discuss it together.
The three basic relational operations that can be realized in a relational database are: 1, selection operation, the operation of finding tuples that meet the given conditions from the relationship is called selection; 2, projection operation, from the relational schema to specify several attributes to form a new relationship; 3, the join operation is the horizontal combination of the relationship.
Any retrieval operation of relational database is composed of three basic operations: selection operation, projection operation and join operation.
1, selection operation, selection can also be said to be a restriction, it is to select tuples in relation R that meet the given conditions, and selection operation is actually to select tuples from relation R to make the logical expression F true, which is carried out from the point of view of rows.
2, projection operation, projection on relation R is to select several attribute columns from R to form a new relation. ∏ A (R) = {t [A] | t ∈ R} where An is the attribute column in R. The projection operation is an operation from the point of view of a column.
3, join operation. A connection can also be called a θ connection, which selects tuples between attributes that satisfy certain conditions from the Cartesian product of two relations. There are two most important and commonly used connections in connection operation, namely, equivalent connection and natural connection. A connection when θ is "=" is called an equivalent connection. Natural connection is a special equivalent connection.
After reading this article, I believe you have a certain understanding of the basic operations of relational database. I would like to know more about it. Welcome to follow the industry information channel. Thank you for your reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.