In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
SQL Server how to join the query, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
What is a join query?
Concept: query data from two or more tables based on the relationship between their columns.
Objective: to realize multiple table query operations.
Once you know the concept of join query, when do you use join query?
It is generally used to associate two or more data tables. It seems a little abstract. For example, let's make two tables: the student table (T_student) and the class table (T_class).
T_student
T_class
Connection standard syntax format:
The join syntax format of the FROM clause defined by the SQL-92 standard is:
FROM join_table join_type join_ table [on (join_condition)]
Where join_table indicates the name of the table participating in the join operation, the join can operate on the same table or multiple tables, and the join on the same table is also called self-join. Join_type indicates the connection type. Join_condition refers to the connection condition.
Connection type:
There are three kinds of connections: inner connection, outer connection and cross connection.
Internal connection (INNER JOIN)
Use the comparison operators (including =, >, =, and!
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
SYS@orcl1 > set lines 200SYS@orcl1 > col name for a50SYS@orcl1 > select * from vs. recovery
© 2024 shulou.com SLNews company. All rights reserved.