Mysql left jion: that is, left outer join (same as right join), jionouter

Source: Internet
Author: User

Mysql left jion: that is, left outer join (same as right join), jionouter

Left Outer Join:

A left jion B on A. id = B. id indicates that the data in Table A does not move. After adding the data in Table B to table A corresponding to Table

Outer right connection:

Rignt jion is to add A to B, B does not move, save all.


Left jion is left outer join, short.

Example:

Select *
From app_id_gx7 left outer join ad_network_app
On app_id_gx7.app_id = ad_network_app.app_id
Where ad_network_app.ad_network_id = 5

Tested whether the OUTER effect is the same.




Related Article

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.