SQL join query and SQLjoin connection

Source: Internet
Author: User

SQL join query and SQLjoin connection
 Inner join (Intersection,Natural connection, Abbreviated as join)Is the most common connection query, which is equivalent to the query based on the where condition in the early stage.Outer join (Union or partial union, left table + right table) 

  • Left [outer] join (the left table generates a full set. If the right table has a match, if not, it is null)
  • Right [outer] join (the right table generates a full set. If there is a left table, it matches, and if not, it is null)
  • Full [outer] join (union)
Cross join (Cartesian Product, left table * right table)Not required in development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.