SQL FULL OUTER JOIN 关键字
sql full outer join 关键字
full outer join 关键字返回左表和右表的所有行,如果左表或者右表中没有匹配的记录,那么字段的值均补为 null。
full outer join 关键字结合了 left join 和 right join 的结果。
1. full outer join 语法
select column_name(s)
from table1
full outer join table2
on table1.column_name=table2.column_name;
from table1
full outer join table2
on table1.column_name=table2.column_name;