Inner join, left Outer Join and association Difference

Source: Internet
Author: User
The source code for the CDs view of the test, line 8th joins the TJ02T with the inner join, which holds the ID and description of all system states.

Inner Join test results: For those States that do not maintain descriptive information in the TJ02T, they do not appear in the result set.

Change the inner join of line eighth to outer join, and the test result is the opposite: Notice that the row items with a stat column value of E0001 also appear in the result set.

Association test results are consistent with the left Outer join.

The underlying implementation of association is actually consistent with the left Outer join. There are two ways to verify this conclusion.

Method 1

Previewing a CDs view with the association implementation in ABAP Development Studio enables the tool to discover that the association was finally implemented through a left Outer join.

Method 2

This button in the transaction code ST05: shows the execution plan, and also shows that the association bottom is implemented by the left Outer join.

To get more original Jerry's technical articles, please follow the public number "Wang Zixi" or scan the QR code below:

Inner join, left Outer Join and association Difference

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.