The difference between Letf join, right join, inner join

The difference between Letf join, right join, inner join

Left join a on a.a=b.b

Based on table a, all data in table a will be displayed , and if table b does not meet the conditions, it will be filled with null

Right join a on a.a=b.b

Based on table b, all data in table b will be displayed , and if table a does not meet the conditions, it will be filled with null

Inner join a on a.a=b.b

will display all data matching aa=bb , not based on any table

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325904398&siteId=291194637